hduser@edureka-VirtualBox:/work/apex-core/engine/src/main/scripts$ sudo bash
apex
[sudo] password for hduser: 
Warning: hadoop executable not found.  Running standalone with java.
Apex CLI 3.5.0-SNAPSHOT 25.11.2016 @ 11:35:45 CST rev: a54e0b7 branch:
master
apex> list-apps
{"apps": [{
  "startTime": "2016-11-25 19:47:15 +0800",
  "id": 1,
  "name": "SortedWordCount",
  "state": "FAILED",
  "trackingUrl":
"http:\/\/edureka-VirtualBox:8088\/cluster\/app\/application_1480074384820_0001",
  "finalStatus": "FAILED",
  "tags": []
}]}
0 active, total 1 applications.
apex> exit
hduser@edureka-VirtualBox:/work/apex-core/engine/src/main/scripts$ bash apex
Error: A JNI error has occurred, please check your installation and try
again
Exception in thread "main" java.lang.NoClassDefFoundError:
jline/console/ConsoleReader
        at java.lang.Class.getDeclaredMethods0(Native Method)
        at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
        at java.lang.Class.privateGetMethodRecursive(Class.java:3048)
        at java.lang.Class.getMethod0(Class.java:3018)
        at java.lang.Class.getMethod(Class.java:1784)
        at 
sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:544)
        at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:526)
Caused by: java.lang.ClassNotFoundException: jline.console.ConsoleReader
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        ... 7 more




--
View this message in context: 
http://apache-apex-users-list.78494.x6.nabble.com/SortedWordCount-example-is-not-running-tp1126p1182.html
Sent from the Apache Apex Users list mailing list archive at Nabble.com.

Reply via email to