HBase
  1. HBase
  2. HBASE-3497

TableMapReduceUtil.initTableReducerJob broken due to setConf method in TableOutputFormat

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.90.0
    • Fix Version/s: 0.90.2
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      setConf() method in TableOutputFormat gets called and it replaces the hbase.zookeeper.quorum address in the job conf xml when you run a CopyTable job from one cluster to another. The conf gets set to the peer.addr that is specified, which makes the job read and write from/to the peer cluster instead of reading from the original cluster and writing to the peer.

      Possibly caused due to the change in https://issues.apache.org/jira/browse/HBASE-3111

      1. HBASE-3497.patch
        3 kB
        Jean-Daniel Cryans

        Issue Links

          Activity

          Hide
          Jean-Daniel Cryans added a comment -

          This patch fixes the fact that setConf wasn't setting the conf at all and it does a copy so that the method doesn't alter the passed configuration.

          Show
          Jean-Daniel Cryans added a comment - This patch fixes the fact that setConf wasn't setting the conf at all and it does a copy so that the method doesn't alter the passed configuration.
          Hide
          Jean-Daniel Cryans added a comment -

          Bringing into 0.90.2

          Show
          Jean-Daniel Cryans added a comment - Bringing into 0.90.2
          Hide
          stack added a comment -

          +1 (After removing pollution)

          Show
          stack added a comment - +1 (After removing pollution)
          Hide
          Jean-Daniel Cryans added a comment -

          Committed without the pollution to branch and trunk, thanks Stack!

          Show
          Jean-Daniel Cryans added a comment - Committed without the pollution to branch and trunk, thanks Stack!
          Hide
          Hudson added a comment -

          Integrated in HBase-TRUNK #1814 (See https://hudson.apache.org/hudson/job/HBase-TRUNK/1814/)

          Show
          Hudson added a comment - Integrated in HBase-TRUNK #1814 (See https://hudson.apache.org/hudson/job/HBase-TRUNK/1814/ )

            People

            • Assignee:
              Jean-Daniel Cryans
              Reporter:
              Amandeep Khurana
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development