Which replication value will be used

2014-07-29 Thread Satyam Singh
IOException { return this.create(f, FsPermission.getFileDefault().applyUMask( FsPermission.getUMask(getConf())), overwrite, bufferSize, replication, blockSize, progress); } here i also given replication as fourth parameter. So my question is which replication value will be used

Re: Which replication value will be used

2014-07-29 Thread Nitin Pawar
) throws IOException { return this.create(f, FsPermission.getFileDefault().applyUMask( FsPermission.getUMask(getConf())), overwrite, bufferSize, replication, blockSize, progress); } here i also given replication as fourth parameter. So my question is which replication value

Re: Which replication value will be used

2014-07-29 Thread hadoop hive
( FsPermission.getUMask(getConf())), overwrite, bufferSize, replication, blockSize, progress); } here i also given replication as fourth parameter. So my question is which replication value will be used that we have given in api or in hdfs-site.xml Warm Regards, Satyam