hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy Doddington (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-8095) -libjars option does not accept multiple jar files
Date Tue, 21 Feb 2012 11:29:34 GMT
-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

        

Mime
View raw message