[ 
https://issues.apache.org/jira/browse/PIG-891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12739652#action_12739652
 ] 

Alan Gates commented on PIG-891:
--------------------------------

+1 to Pradeep's suggestion.  I think it would be better for Pig dump its shell 
command implementations and have grunt dispatch shell commands to Hadoop.  This 
avoids Pig needing to implement these commands.  It also means Pig will 
automatically be in sync with Hadoop on how shell commands work.

> Fixing dfs statement for Pig
> ----------------------------
>
>                 Key: PIG-891
>                 URL: https://issues.apache.org/jira/browse/PIG-891
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Daniel Dai
>            Assignee: Jeff Zhang
>            Priority: Minor
>
> Several hadoop dfs commands are not support or restrictive on current Pig. We 
> need to fix that. These include:
> 1. Several commands do not supported: lsr, dus, count, rmr, expunge, put, 
> moveFromLocal, get, getmerge, text, moveToLocal, mkdir, touchz, test, stat, 
> tail, chmod, chown, chgrp. A reference for these command can be found in 
> http://hadoop.apache.org/common/docs/current/hdfs_shell.html
> 2. All existing dfs commands do not support globing.
> 3. Pig should provide a programmatic way to perform dfs commands. Several of 
> them exist in PigServer, but not all of them.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to