[
https://issues.apache.org/jira/browse/HDFS-12491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16171865#comment-16171865
]
John Zhuge commented on HDFS-12491:
-----------------------------------
See example code in
http://hg.openjdk.java.net/jdk7u/jdk7u-dev/jdk/file/70e3553d9d6e/src/share/bin/java.c#l691.
> Support wildcard in CLASSPATH for libhdfs
> -----------------------------------------
>
> Key: HDFS-12491
> URL: https://issues.apache.org/jira/browse/HDFS-12491
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: libhdfs
> Affects Versions: 2.8.0
> Reporter: John Zhuge
>
> According to libhdfs doc, wildcard in CLASSPATH is not support:
> bq. The most common problem is the CLASSPATH is not set properly when calling
> a program that uses libhdfs. Make sure you set it to all the Hadoop jars
> needed to run Hadoop itself as well as the right configuration directory
> containing hdfs-site.xml. It is not valid to use wildcard syntax for
> specifying multiple jars. It may be useful to run hadoop classpath --glob or
> hadoop classpath --jar <path> to generate the correct classpath for your
> deployment.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]