Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-15469

After upgrading from Ambari 2.1.2 to 2.2.1, HDP from 2.3.0 to 2.3.4 , user is getting 'Consistency Check Failed' error while trying to save configuration in Ranger, Hive and HBase

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • ambari-server
    • None

    Description

      PROBLEM:After upgrading from Ambari 2.1.2 to 2.2.1, HDP from 2.3.0 to 2.3.4 , user is getting 'Consistency Check Failed' error while trying to save configuration in Ranger, Hive and HBase

      Please find the attached screenshot, and ambari-server log for more information.

      Error occured in stack advisor.
      Error details: list.remove(x): x not in list
      14 Mar 2016 14:31:26,241  INFO [qtp-ambari-client-23360] StackAdvisorRunner:71 -     advisor script stderr: Traceback (most recent call last):
      File "/var/lib/ambari-server/resources/scripts/stack_advisor.py", line 158, in <module>
      main(sys.argv)
      File "/var/lib/ambari-server/resources/scripts/stack_advisor.py", line 109, in main
      result = stackAdvisor.recommendConfigurations(services, hosts)
      File "/var/lib/ambari-server/resources/scripts/../stacks/stack_advisor.py", line 569, in recommendConfigurations
      calculation(configurations, clusterSummary, services, hosts)
      File "/var/lib/ambari-server/resources/scripts/./../stacks/HDP/2.3/services/stack_advisor.py", line 239, in recommendHBASEConfigurations
      super(HDP23StackAdvisor, self).recommendHBASEConfigurations(configurations, clusterData, services, hosts)
      File "/var/lib/ambari-server/resources/scripts/./../stacks/HDP/2.2/services/stack_advisor.py", line 665, in recommendHBASEConfigurations
      hbaseCoProcessorConfigs['hbase.coprocessor.master.classes'].remove('org.apache.hadoop.hbase.security.access.AccessController')
      ValueError: list.remove(x): x not in list
      

      Looks like property 'hbase.coprocessor.master.classes' is empty. The workaround is by putting value org.apache.hadoop.hbase.security.access.AccessController there.

      Attachments

        1. AMBARI-15469.patch
          1 kB
          Dmitry Lysnichenko

        Issue Links

          Activity

            People

              dmitriusan Dmitry Lysnichenko
              dmitriusan Dmitry Lysnichenko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: