Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: v0.9.0, v0.9.1, v0.9.1u1
    • Fix Version/s: v0.9.3
    • Component/s: Build
    • Labels:
      None

      Description

      thinker0

      """"
      RHEL4 not working

      [ bin]$ ./flume
      usage: flume command [args...]
      commands include:
      dump Takes a specified source and dumps to console
      node Start a Flume node/agent (with watchdog)
      master Start a Flume Master server (with watchdog)
      version Dump flume build version information
      node_nowatch Start a flume node/agent (no watchdog)
      master_nowatch Start a Flume Master server (no watchdog)
      class <class> Run specified fully qualified class using Flume environment (no watchdog)
      ex: flume com.cloudera.flume.agent.FlumeNode
      classpath Dump the classpath used by the java executables
      shell Start the flume shell
      killmaster Kill a running master
      [ bin]$ ./flume dump console
      ./flume: line 93: JOPTS+=-Dflume.log.file=flume.log : command not found
      ./flume: line 94: JOPTS+=-Dflume.root.logger=INFO,console : command not found
      ./flume: line 95: JOPTS+=-Dzookeeper.root.logger=ERROR,console : command not found
      ./flume: line 96: JOPTS+=-Dwatchdog.root.logger=INFO,console : command not found
      ./flume: line 146: JOPTS+=-Djava.library.path=./lib : No such file or directory
      ./flume: line 151: CLASSPATH+=:/lib/tools.jar: No such file or directory
      ./flume: line 72: CLASSPATH+=:/usr/lib/zookeeper/zookeeper-3.3.1+7.jar: No such file or directory
      ./flume: line 164: CLASSPATH+=:./build/classes: No such file or directory
      HADOOP_HOME is unset, hadoop jars may not be added to classpath
      Exception in thread "main" java.lang.NoClassDefFoundError: com/cloudera/flume/agent/FlumeNode
      Caused by: java.lang.ClassNotFoundException: com.cloudera.flume.agent.FlumeNode
      at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
      Could not find the main class: com.cloudera.flume.agent.FlumeNode. Program will exit.
      [bin]$ rpm -qa | grep bash
      bash-3.0-21.el4_8.2
      """"

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jon Jonathan Hsieh
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: