You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Andy Doddington (Created) (JIRA)" <ji...@apache.org> on 2012/02/21 12:29:34 UTC

[jira] [Created] (HADOOP-8095) -libjars option does not accept multiple jar files

-libjars option does not accept multiple jar files
--------------------------------------------------

                 Key: HADOOP-8095
                 URL: https://issues.apache.org/jira/browse/HADOOP-8095
             Project: Hadoop Common
          Issue Type: Bug
    Affects Versions: 0.20.203.0
         Environment: Linux
            Reporter: Andy Doddington


Using the hadoop 'jar' command as an example, the following works fine:

       hadoop jar <jarfile0> <main-class> -libjars <jarfile1>

However, adding a second jar file (as shown below) causes ClassNotFoundExceptions, on classes that exist in jarfile1:

       hadoop jar <jarfile0> <main-class> -libjars <jarfile1>,<jarfile2>

I have tried putting the lib jars arguments inside a quoted string, but this gives the same results.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira