Map Reduce job failing - Hbase Bulk load

2015-06-03 Thread Shashi Vishwakarma
Hi I have map reduce job for hbase bulk load. Job is converting data into Hfiles and loading into hbase but after certain map % job is failing. Below is the exception that I am getting. Error: java.io.FileNotFoundException:

Re: Comparing CheckSum of Local and HDFS File

2015-08-17 Thread Shashi Vishwakarma
AM, Gera Shegalov g...@shegalov.com wrote: I filed https://issues.apache.org/jira/browse/HADOOP-12326 to do that, you can take a look at the patch. Your understanding is correct: md5 of crc in each block, then md5 of those block md5s. On Sun, Aug 9, 2015 at 7:35 AM Shashi Vishwakarma

Comparing CheckSum of Local and HDFS File

2015-08-07 Thread Shashi Vishwakarma
Hi I have a small confusion regarding checksum verification.Lets say , i have a file abc.txt and I transferred this file to hdfs. How do I ensure about data integrity? I followed below steps to check that file is correctly transferred. *On Local File System:* md5sum abc.txt

Comparing CheckSum of Local and HDFS File

2015-08-07 Thread Shashi Vishwakarma
Hi I have a small confusion regarding checksum verification.Lets say , i have a file abc.txt and I transferred this file to hdfs. How do I ensure about data integrity? I followed below steps to check that file is correctly transferred. *On Local File System:* md5sum abc.txt

Re: Comparing CheckSum of Local and HDFS File

2015-08-09 Thread Shashi Vishwakarma
formatting or byte order you could use md5sum for the remote file as well if the file is reasonably small hadoop fs -cat /abc.txt | md5sum On Fri, Aug 7, 2015 at 3:35 AM Shashi Vishwakarma shashi.vish...@gmail.com wrote: Hi I have a small confusion regarding checksum verification.Lets say

Re: Utility to push data into HDFS

2015-11-01 Thread Shashi Vishwakarma
which just requires an HTTP client on > your platform of choice. > > > http://hadoop.apache.org/docs/r2.7.1/hadoop-project-dist/hadoop-hdfs/WebHDFS.html > > --Chris Nauroth > > From: Shashi Vishwakarma <shashi.vish...@gmail.com> > Reply-To: "user@hadoop

Utility to push data into HDFS

2015-10-31 Thread Shashi Vishwakarma
Hi I need build a common utility for unix/windows based system to push data into hadoop system. User can run that utility from any platform and should be able to push data into HDFS. Any suggestions ? Thanks Shashi

Re: Utility to push data into HDFS

2015-11-01 Thread Shashi Vishwakarma
...@gmail.com> > Reply-To: "user@hadoop.apache.org" <user@hadoop.apache.org> > Date: Sunday, November 1, 2015 at 9:35 AM > To: "user@hadoop.apache.org" <user@hadoop.apache.org> > Subject: Re: Utility to push data into HDFS > > I am guessing t

RE: Utility to push data into HDFS

2015-11-03 Thread Shashi Vishwakarma
not files > inside it) in class path of your client program. > > > > -Vinay > > > > *From:* Shashi Vishwakarma [mailto:shashi.vish...@gmail.com] > *Sent:* Monday, November 02, 2015 10:47 PM > *To:* user@hadoop.apache.org > *Subject:* Re: Utility to push data into HD

Performance impact of curl command on linux server

2015-09-04 Thread Shashi Vishwakarma
Hi I have been using curl command for ingesting data into HDFS using WebHDFS. Admins are saying that resource utilization for curl is very high which is hampering server performance. I would like to know if curl can use so much of resource which could lead to performance issue. Just to give

Re: Get member list of group in HDFS using Java/Script

2016-02-20 Thread Shashi Vishwakarma
rship infrastructure is (i.e. run the "groups" command at > the OS layer or query an LDAP server). > > I hope this helps. > > --Chris Nauroth > > [1] > http://hadoop.apache.org/docs/r2.7.2/hadoop-project-dist/hadoop-hdfs/HdfsPermissionsGuide.html#Group_Mapping > [2]

HDFS Encryption using Java

2016-04-22 Thread Shashi Vishwakarma
Hi I want to invoke below command using java . hadoop key create myKey hdfs crypto -createZone -keyName myKey -path /zone Can someone point to java api documentation for this or any example to implement this in java? Thanks in advance. Shashi

REST HDFS API for HDFS Encryption Process

2016-05-11 Thread Shashi Vishwakarma
Hi I want to create encrypted zone using WebHDFS. Below is command for which i am looking for its REST implementation . hdfs crypto -createZone -keyName myKey -path /zone Can someone point me documentation/examaple for same? Thanks Shashi

HDFS ACL | Unable to define ACL automatically for child folders

2016-09-18 Thread Shashi Vishwakarma
I have following scenario. There is parent folder /user with five child folder as test1 , test2, test3 etc in HDFS. /user/test1 /user/test2 /user/test3 I applied acl on parent folder to make sure user has automatically access to child folder. hdfs dfs -setfacl -m

Re: HDFS ACL | Unable to define ACL automatically for child folders

2016-09-19 Thread Shashi Vishwakarma
Acl java api for each. > https://hadoop.apache.org/docs/r2.7.2/api/org/apache/ > hadoop/fs/FileSystem.html#setAcl(org.apache.hadoop.fs.Path, > java.util.List) > > Rakesh > > On Mon, Sep 19, 2016 at 11:22 AM, Shashi Vishwakarma < > shashi.vish...@gmail.com> wrote: &g

Re: HDFS ACL | Unable to define ACL automatically for child folders

2016-09-18 Thread Shashi Vishwakarma
-R, option can be used to apply operations to all files and > directories recursively. > > Regards, > Rakesh > > On Sun, Sep 18, 2016 at 8:53 PM, Shashi Vishwakarma < > shashi.vish...@gmail.com> wrote: > >> I have following scenario. There is parent fold

Get All Hadoop Groups

2016-09-22 Thread Shashi Vishwakarma
Hi I am looking for a way to fetch all hadoop groups available on cluster. Is there any way to do this using Java? Thanks Shashi