HBase
  1. HBase
  2. HBASE-573

HBase does not read hadoop-*.xml for dfs configuration after moving out hadoop/contrib

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.1.0, 0.1.1, 0.1.2, 0.2.0
    • Fix Version/s: 0.1.2, 0.2.0
    • Component/s: None
    • Labels:
      None

      Description

      When HBase was in hadoop/contrib, the hbase script set both HADOOP_CONF_DIR
      and HBASE_CONF_DIR to CLASSPATH, so that dfs's configuration can be loaded
      correctly. However, when moved out hadoop/contrib, it only sets HBASE_CONF_DIR.

      I can think of several possible solutions:

      1) set HADOOP_CONF_DIR in hbase-env.sh, then add HADOOP_CONF_DIR to CLASSPATH as before
      2) Instruct user to create links for hadoop-*.xml if they want to customize some dfs settings.
      3) If only a small set of dfs confs are related to dfs's client, maybe they can be set via hbase-site.xml, then hbase sets these for us when create a FileSystem obj.

      Please see the thread "# of dfs replications when using hbase" on hbase-user@.

        Activity

        Rong-En Fan created issue -
        Rong-En Fan made changes -
        Field Original Value New Value
        Affects Version/s 0.1.2 [ 12313083 ]
        Affects Version/s 0.2.0 [ 12312955 ]
        Affects Version/s 0.1.1 [ 12313079 ]
        stack made changes -
        Fix Version/s 0.1.2 [ 12313083 ]
        Fix Version/s 0.2.0 [ 12312955 ]
        stack made changes -
        Assignee stack [ stack ]
        stack made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Jim Kellerman made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            stack
            Reporter:
            Rong-En Fan
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development