RE: Problem regarding conf.set(String, String[] values) Hadoop 2.6

2015-11-14 Thread andreina j
Hi Darek, To set a string of array as a value for a configuration property we have to set using below api conf.setStrings(String name, String... values) and the value can be fetched using conf.get(String nam

RE: Authenticating to Kerberos enabled Hadoop cluster using Java

2015-11-02 Thread andreina j
ailto:hdfs/had...@hadoop.com>", " D:\\data\\Desktop\\cluster-test\\conf\\hdfs.keytab"); Note: Above 2 lines should be at the beginning in your application. Regards Andreina J From: Vishwakarma, Chhaya [mailto:chhaya.vishwaka...@thinkbiganalytics.com] Sent: 02 November 20

RE: Utility to push data into HDFS

2015-11-02 Thread andreina j
In, out, 1024); } } Note: Change the paths mentioned above accordingly Regards, Andreina J. From: Shashi Vishwakarma [mailto:shashi.vish...@gmail.com] Sent: 02 November 2015 PM 01:18 To: user@hadoop.apache.org Subject: Re: Utility to push data into HDFS Hi Naga

RE:

2015-10-29 Thread andreina j
Sorry for the noise ! Mail sent by mistake.. From: andreina j [mailto:andrein...@huawei.com] Sent: 30 October 2015 AM 08:26 To: user@hadoop.apache.org Subject: Subscribe me for users mailing list Andreina J 华为技术有限公司 Huawei Technologies Co., Ltd. [Company_logo

RE: [HDFS] Programatic way to determine is a file is under construction?

2015-10-29 Thread andreina j
Hi Aaron, DistributedFileSystem dfs = (DistributedFileSystem) FileSystem.get(conf); Path file=new Path("/foo/bar"); boolean fileClosed = dfs.isFileClosed(file); will help you in finding whether the files is open/closed. Regards, Andreina J. From: Aaron.Dossett [mailto:

[no subject]

2015-10-29 Thread andreina j
Subscribe me for users mailing list Andreina J 华为技术有限公司 Huawei Technologies Co., Ltd. [Company_logo] Phone: Fax: Mobile: Email: 地址:深圳市龙岗区坂田华为基地 邮编:518129 Huawei Technologies Co., Ltd. Bantian, Longgang District,Shenzhen 518129, P.R.China http://www.huawei.com