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

Kihwal Lee commented on HDFS-12491:
-----------------------------------

Committed this from trunk to branch-2.10. Thanks for working on this, 
[~samkhan] and for the reviews, [~Jim_Brennan].

> 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
>            Assignee: Muhammad Samir Khan
>            Priority: Major
>             Fix For: 3.3.0, 3.1.4, 3.2.2, 2.10.1
>
>         Attachments: HDFS-12491.001.patch, HDFS-12491.002.patch, 
> testWildCard.sh
>
>
> 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
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to