Uploaded image for project: 'CDH (READ-ONLY)'
  1. CDH (READ-ONLY)
  2. DISTRO-346

DISTRO-187 breaks HBase Thrift, HBase logging, ..

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: CDH3u2
    • Fix Version/s: CDH3u3
    • Component/s: HBase, Packaging
    • Labels:
      None

      Description

      Classpath changes introduced by DISTRO-187 breaks HBase Thrift, HBase logging, ..

      A simple fix while retaining functional changes from DISTRO-187 follows:

      1. PATCH START
          • hbase.old 2011-11-28 19:33:55.000000000 -0500
            +++ hbase.new 2011-11-28 19:34:04.000000000 -0500
            @@ -204,7 +204,7 @@
            for i in "${HADOOP_HOME}/lib/"*.jar; do
            HADOOPCPPATH="${HADOOPCPPATH}:$i"
            done
      • CLASSPATH=$(append_path "${HADOOPCPPATH}" "${CLASSPATH}")
        + CLASSPATH=$(append_path "${CLASSPATH}" "${HADOOPCPPATH}")

      if [ -d "${HADOOP_HOME}/lib/native" ]; then
      JAVA_PLATFORM=`CLASSPATH=${HADOOPCPPATH} ${JAVA} org.apache.hadoop.util.PlatformName | sed -e "s/ /_/g"`

      1. PATCH END

      -

      Current version (SVN HEAD) of bin/hbase uses the same order (for combining paths).
      (FWIW logging can be fixed by using "-Dlog4j.configuration=......")

        Attachments

          Activity

            People

            • Assignee:
              rvs Roman V Shaposhnik
              Reporter:
              meyarivan T Meyarivan
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: