Merge from master

This commit is contained in:
Raj Musuku
2019-02-21 17:56:04 -08:00
parent 5a146e34fa
commit 666ae11639
11482 changed files with 119352 additions and 255574 deletions

View File

@@ -72,7 +72,7 @@ export interface IHttpAuthentication {
}
export interface IHdfsOptions {
host?: string;
port?: string;
port?: number;
protocol?: string;
user?: string;
path?: string;
@@ -224,7 +224,7 @@ export class FileSourceFactory {
let optionsHost: string = options.host;
if (options.host.indexOf(delimeter) > -1) {
options.host = options.host.slice(0, options.host.indexOf(delimeter));
options.port = optionsHost.replace(options.host + delimeter, '');
options.port = Number.parseInt(optionsHost.replace(options.host + delimeter, ''));
}
return options;
}