Bigtop
  1. Bigtop
  2. BIGTOP-853

HBase test, TestLoadAndVerify does not work on secure clusters

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.6.0
    • Fix Version/s: 0.6.0
    • Component/s: tests
    • Labels:
      None

      Description

      TestLoadAndVerify does not use TableMapReduceUtil.initTableMapper(), since it does not go through the hbase's input / output formats. Thus, initCredentials() is not called, which means that it fails on secure clusters.

      1. bigtop-853_v1.patch
        0.8 kB
        Enis Soztutar

        Activity

        Hide
        Roman Shaposhnik added a comment -

        +1 and commited! Sorry for the delay – this slipped my radar

        Show
        Roman Shaposhnik added a comment - +1 and commited! Sorry for the delay – this slipped my radar
        Hide
        Enis Soztutar added a comment -

        does this still apply now that you're saying that TestLoadAndVerify has migrated into HBase proper?

        It depends on whether you want to keep TestLoadAndVerify inside BigTop or want to invoke the tests within HBase. I've included a version of this patch in the code that is committed to HBase.

        HBase 0.94.6, 0.95 branch and trunk include the test, so if you are going to rely on it, we can resolve this issue.

        Show
        Enis Soztutar added a comment - does this still apply now that you're saying that TestLoadAndVerify has migrated into HBase proper? It depends on whether you want to keep TestLoadAndVerify inside BigTop or want to invoke the tests within HBase. I've included a version of this patch in the code that is committed to HBase. HBase 0.94.6, 0.95 branch and trunk include the test, so if you are going to rely on it, we can resolve this issue.
        Hide
        Roman Shaposhnik added a comment -

        Enis, does this still apply now that you're saying that TestLoadAndVerify has migrated into HBase proper?

        Show
        Roman Shaposhnik added a comment - Enis, does this still apply now that you're saying that TestLoadAndVerify has migrated into HBase proper?
        Hide
        Enis Soztutar added a comment -

        Attaching simple patch.

        Show
        Enis Soztutar added a comment - Attaching simple patch.

          People

          • Assignee:
            Roman Shaposhnik
            Reporter:
            Enis Soztutar
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development