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

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.14.0
    • Component/s: Metastore
    • Labels:
      None
    • Environment:

      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.3.patch
          7 kB
          Thejas Nair
        2. HIVE-7620.2.patch
          7 kB
          Thejas Nair
        3. HIVE-7620.1.patch
          7 kB
          Thejas Nair

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: