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

Arpit Agarwal commented on HDFS-7591:
-------------------------------------

Hi Varun, 

In hadoop:
{code}
      if [ "$#" -gt 1 ]; then
        CLASS=org.apache.hadoop.util.Classpath
      else
{code}
This should be {{if [[ "$#" -gt 0 ]]}}. +1 with that fixed.

> hdfs classpath command should support same options as hadoop classpath.
> -----------------------------------------------------------------------
>
>                 Key: HDFS-7591
>                 URL: https://issues.apache.org/jira/browse/HDFS-7591
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: scripts
>            Reporter: Chris Nauroth
>            Assignee: Varun Saxena
>            Priority: Minor
>             Fix For: 3.0.0
>
>         Attachments: HDFS-7591.001.patch, HDFS-7591.002.patch, 
> HDFS-7591.branch-2.patch
>
>
> HADOOP-10903 enhanced the {{hadoop classpath}} command to support optional 
> expansion of the wildcards and bundling the classpath into a jar file 
> containing a manifest with the Class-Path attribute.  The other classpath 
> commands should do the same for consistency.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to