Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-7620

Hive metastore fails to start in secure mode due to "java.lang.NoSuchFieldError: SASL_PROPS" error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.14.0
    • Metastore
    • None
    • Hadoop 2.5-snapshot with kerberos authentication on

    Description

      When Hive metastore is started in a Hadoop 2.5 cluster, it fails to start with following error

      14/07/31 17:45:58 [main]: ERROR metastore.HiveMetaStore: Metastore Thrift Server threw an exception...
      java.lang.NoSuchFieldError: SASL_PROPS
      	at org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge20S.getHadoopSaslProperties(HadoopThriftAuthBridge20S.java:126)
      	at org.apache.hadoop.hive.metastore.MetaStoreUtils.getMetaStoreSaslProperties(MetaStoreUtils.java:1483)
      	at org.apache.hadoop.hive.metastore.HiveMetaStore.startMetaStore(HiveMetaStore.java:5225)
      	at org.apache.hadoop.hive.metastore.HiveMetaStore.main(HiveMetaStore.java:5152)
      

      Changes in HADOOP-10451 to remove SaslRpcServer.SASL_PROPS are causing this error.

      Attachments

        1. HIVE-7620.1.patch
          7 kB
          Thejas Nair
        2. HIVE-7620.2.patch
          7 kB
          Thejas Nair
        3. HIVE-7620.3.patch
          7 kB
          Thejas Nair

        Issue Links

          Activity

            People

              thejas Thejas Nair
              thejas Thejas Nair
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: