Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-317

ranger-usersync setup fails with NoClassDefFoundError

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.5.0
    • Fix Version/s: 0.5.0
    • Component/s: None
    • Labels:
      None

      Description

      Running setup.sh of ranger-usersync reports the following error

      SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
      Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/io/Charsets
      at org.apache.hadoop.security.alias.JavaKeyStoreProvider.bytesToChars(JavaKeyStoreProvider.java:169)
      at org.apache.hadoop.security.alias.JavaKeyStoreProvider.getCredentialEntry(JavaKeyStoreProvider.java:161)
      at org.apache.ranger.credentialapi.CredentialReader.getDecryptedString(CredentialReader.java:66)
      at org.apache.ranger.credentialapi.buildks.createCredential(buildks.java:86)
      at org.apache.ranger.credentialapi.buildks.main(buildks.java:39)
      Caused by: java.lang.ClassNotFoundException: org.apache.commons.io.Charsets
      at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
      ... 5 more

        Attachments

        1. RANGER-317.1.patch
          0.8 kB
          Dilli Arumugam

          Issue Links

            Activity

              People

              • Assignee:
                darumugam Dilli Arumugam
                Reporter:
                darumugam Dilli Arumugam
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: