Can anyone let me know if its done purposefully?

On 13/10/16, 11:08 PM, "Sachin Pasalkar" <[email protected]>
wrote:

>Hi,
>
>I was looking HdfsState class where createOutputFile api present at line
>182 is as follows
>
>Path path = new Path(this.fileNameFormat.getPath(),
>this.fileNameFormat.getName(this.rotation, System.currentTimeMillis()));
>
>whereas there is another createOutputFile at line 272 line
>
>Path p = new Path(this.fsUrl + this.fileNameFormat.getPath(),
>this.fileNameFormat.getName(this.rotation, System.currentTimeMillis()));
>
>In line number 182 user has to provide the hdfs uri in path itself, its
>handled properly in 272
>
>Is there any reason for above difference or its just missed?
>
>Thanks,
>Sachin

Reply via email to