Hi Deepak, File size is certainly useful for persistent result sets, but do we need WebHdfs for it? Its an extra server to run, can we get it from the FileSystem API itself?
Thanks, Jaideep On Wed, Jul 8, 2015 at 10:05 AM, Sharad Agarwal <sha...@apache.org> wrote: > This should be useful. However file size will be available only for > persistent resultset. > > On Tue, Jul 7, 2015 at 5:32 PM, Deepak Kumar Barr (Tech_BLR) < > deepak.b...@flipkart.com> wrote: > > > Hey All, > > > > In case of persistent resultset, > > */queryapi/queries/{queryHandle}/resultset* response contains the > > resultset HDFS path and the number of rows in the resultset. > > > > I was wondering if we could also include the size of hdfs resultset > > file in the response. The information on the size of the file can be > > obtained using WebHDFS APIs. I think this information could be useful for > > the user. What do you guys think ? > > > > Regards, > > Deepak Kumar Barr > > > > > > > ------------------------------------------------------------------------------------------------------------------------------------------ > > > > This email and any files transmitted with it are confidential and > intended > > solely for the use of the individual or entity to whom they are > addressed. > > If you have received this email in error please notify the system > manager. > > This message contains confidential information and is intended only for > the > > individual named. If you are not the named addressee you should not > > disseminate, distribute or copy this e-mail. Please notify the sender > > immediately by e-mail if you have received this e-mail by mistake and > > delete this e-mail from your system. If you are not the intended > recipient > > you are notified that disclosing, copying, distributing or taking any > > action in reliance on the contents of this information is strictly > > prohibited. Although Flipkart has taken reasonable precautions to ensure > no > > viruses are present in this email, the company cannot accept > responsibility > > for any loss or damage arising from the use of this email or attachments > > > -- - Jaideep Dhok -- _____________________________________________________________ The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by responding to this email and then delete it from your system. The firm is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt.