hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-6123) hdfs script does not work after project split.
Date Thu, 23 Jul 2009 17:37:14 GMT

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

Tsz Wo (Nicholas), SZE commented on HADOOP-6123:
------------------------------------------------

> I don't think the "for loop" can be replaced by using the wildcard. It won't expand the
path in CLASSPATH.
In the [java man page|http://java.sun.com/javase/6/docs/technotes/tools/solaris/java.html],
it says,
{quote}
-classpath classpath
-cp classpath

... As a special convenience, a class path element containing a basename of * is considered
equivalent to specifying a list of all the files in the directory with the extension .jar
or .JAR (a java program cannot tell the difference between the two invocations).

For example, if directory foo contains a.jar and b.JAR, then the class path element foo/*
is expanded to a A.jar:b.JAR, except that the order of jar files is unspecified.  ...
{quote}

> hdfs script does not work after project split.
> ----------------------------------------------
>
>                 Key: HADOOP-6123
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6123
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 0.21.0
>            Reporter: Konstantin Shvachko
>            Assignee: Sharad Agarwal
>             Fix For: 0.21.0
>
>         Attachments: 6123_v1.patch
>
>
> There are problems running hdfs script from common.
> # Usage message for hdfs does not have "fs" option anymore.
> # There seem to be an undocumented option "dfs", but using it throws NoClassDefFoundError
or ClassNotFoundException.
> # Same with other options e.g. name-node.
> May I am missing something here. How do we call ls these days?
> Do we need to move hdfs script to hdfs project.

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


Mime
View raw message