Re: WEBHDFS API GETCONTENTSUMMARY issue

2013-01-10 Thread Arpit Gupta
forgot to mention that the path you are using in the api will also count towards the directory count. -- Arpit Gupta Hortonworks Inc. http://hortonworks.com/ On Jan 10, 2013, at 3:55 PM, Arpit Gupta wrote: > Rodrigo > > GETCONTENTSUMMARY will return the summary of everything under the path yo

Re: WEBHDFS API GETCONTENTSUMMARY issue

2013-01-10 Thread Arpit Gupta
Rodrigo GETCONTENTSUMMARY will return the summary of everything under the path you specified, even the subdirectories. So i would suggest take a look in the directories and see what content they have and then the numbers should add up. -- Arpit Gupta Hortonworks Inc. http://hortonworks.com/ On

WEBHDFS API GETCONTENTSUMMARY issue

2013-01-10 Thread Pastrana, Rodrigo (RIS-BCT)
I'm using WEBHDFS to query directory/file information, but the GETCONTENTSUMMARY counts aren't returning expected counts. For example, when I query content summary for the directory /user/hadoop/tutorial, webhdfs returns the following: x.y.z.w:50070/webhdfs/v1/user/hadoop/tutorial/?op=GETCONTEN