[ 
https://issues.apache.org/jira/browse/HADOOP-16077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16763561#comment-16763561
 ] 

Ayush Saxena commented on HADOOP-16077:
---------------------------------------

{quote}Already getContentSummary()  is called for EC policy, so it will not be 
additional. And ECPolicy added in contensummary for Policy summarization(see 
HDFS-11647).
{quote}
 
 [~brahmareddy] Added into content summary to use the the same RPC call when 
content summary is called.Pls Review.
{quote}Against HDFS it often fails with permissions problems as it gets to a 
user dir. Doesn't do that when you go through an object store. Maybe it should 
have some configurable limit itself
{quote}
This problem shall be with regular ls too and even with -e. This isn't 
something getting introduced here I guess??

But seems we can do something in this context. IIUC Presently on acct. of any 
exception the call shall terminate and we will be out. Maybe if we want to 
prevent the call termination. we can do some simple try-catch in 
processPath(..) and ignore the exception(LOG it or print a line stating reason 
and move ahead rather terminating). This can added as a param in the LS command 
itself. something like -ignoreException if you want to ignore all or something 
like -limitException 100 to give a limit. Can be several ideas on how to 
proceed. It seems good. If that sounds reasonable enough to add. Can we get 
that up in a separate followUp if it isn't just with -sp. Can handle and unify 
for all. :)

> Add an option in ls command to include storage policy
> -----------------------------------------------------
>
>                 Key: HADOOP-16077
>                 URL: https://issues.apache.org/jira/browse/HADOOP-16077
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: common
>    Affects Versions: 3.3.0
>            Reporter: Ayush Saxena
>            Assignee: Ayush Saxena
>            Priority: Major
>         Attachments: HADOOP-16077-01.patch, HADOOP-16077-02.patch, 
> HADOOP-16077-03.patch, HADOOP-16077-04.patch, HADOOP-16077-05.patch, 
> HADOOP-16077-06.patch, HADOOP-16077-07.patch, HADOOP-16077-08.patch
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to