Uploaded image for project: 'Flume'
  1. Flume
  2. FLUME-1152

flume-ng script has issue with hadoop 0.23 script

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.2.0
    • None
    • Shell
    • None

    Description

      The section in the flume-ng script marked "# hack up and filter hadoop classpath" won't work with hadoop 0.23 'hadoop' script, because in 0.23 the 'hadoop classpath' cmd uses the JDK 6 wildcard notation. Please see en.wikipedia.org/wiki/Classpath_(Java).

      I suggest replacing:
      HADOOP_CLASSPATH=$($HADOOP_IN_PATH classpath 2>/dev/null)
      ...with something like:
      HADOOP_CLASSPATH=$(HADOOP_CLASSPATH="$FLUME_CLASSPATH" \
      ${HADOOP_IN_PATH} org.apache.flume.tools.GetJavaProperty \
      java.class.path 2>/dev/null)

      Attachments

        Activity

          People

            Unassigned Unassigned
            will@cloudera.com Will McQueen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: