Grokbase Groups Hive dev May 2014
FAQ
[ https://issues.apache.org/jira/browse/HIVE-6741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13986279#comment-13986279 ]

Jason Dere commented on HIVE-6741:
----------------------------------

These test failures do not look related to this patch.
HiveServer2 startup fails in secure (kerberos) mode due to backward incompatible hadoop change
----------------------------------------------------------------------------------------------

Key: HIVE-6741
URL: https://issues.apache.org/jira/browse/HIVE-6741
Project: Hive
Issue Type: Bug
Components: HiveServer2
Affects Versions: 0.14.0
Reporter: Vaibhav Gumashta
Assignee: Vaibhav Gumashta
Priority: Blocker
Fix For: 0.14.0

Attachments: HIVE-6741.1.patch, HIVE-6741.2.patch, HIVE-6741.3.patch


[HADOOP-10211|https://issues.apache.org/jira/browse/HADOOP-10211] made a backward incompatible change due to which the following hive call returns a null map ([HiveAuthFactory-old|https://github.com/apache/hive/blob/fc3fdb19668369c56994d11df3207e14f2c5dba8/service/src/java/org/apache/hive/service/auth/HiveAuthFactory.java#L115]):
{code}
Map<String, String> hadoopSaslProps = ShimLoader.getHadoopThriftAuthBridge().
getHadoopSaslProperties(conf);
SaslQOP hadoopSaslQOP = SaslQOP.fromString(hadoopSaslProps.get(Sasl.QOP));
if(hadoopSaslQOP.ordinal() > saslQOP.ordinal()) {
LOG.warn(MessageFormat.format("\"hadoop.rpc.protection\" is set to higher security level " +
"{0} then {1} which is set to {2}", hadoopSaslQOP.toString(),
ConfVars.HIVE_SERVER2_THRIFT_SASL_QOP.varname, saslQOP.toString()));
}
{code}
Since this code path is only used for logging hadoop sasl qop values in case hadoop's qop > hive's qop, we can do away with this and add a general log message.


--
This message was sent by Atlassian JIRA
(v6.2#6252)

Search Discussions

  • Jason Dere (JIRA) at May 1, 2014 at 1:37 am
    [ https://issues.apache.org/jira/browse/HIVE-6741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Jason Dere updated HIVE-6741:
    -----------------------------

         Resolution: Fixed
             Status: Resolved (was: Patch Available)

    Committed to trunk. Thanks for fixing Vaibhav.
    HiveServer2 startup fails in secure (kerberos) mode due to backward incompatible hadoop change
    ----------------------------------------------------------------------------------------------

    Key: HIVE-6741
    URL: https://issues.apache.org/jira/browse/HIVE-6741
    Project: Hive
    Issue Type: Bug
    Components: HiveServer2
    Affects Versions: 0.14.0
    Reporter: Vaibhav Gumashta
    Assignee: Vaibhav Gumashta
    Priority: Blocker
    Fix For: 0.14.0

    Attachments: HIVE-6741.1.patch, HIVE-6741.2.patch, HIVE-6741.3.patch


    [HADOOP-10211|https://issues.apache.org/jira/browse/HADOOP-10211] made a backward incompatible change due to which the following hive call returns a null map ([HiveAuthFactory-old|https://github.com/apache/hive/blob/fc3fdb19668369c56994d11df3207e14f2c5dba8/service/src/java/org/apache/hive/service/auth/HiveAuthFactory.java#L115]):
    {code}
    Map<String, String> hadoopSaslProps = ShimLoader.getHadoopThriftAuthBridge().
    getHadoopSaslProperties(conf);
    SaslQOP hadoopSaslQOP = SaslQOP.fromString(hadoopSaslProps.get(Sasl.QOP));
    if(hadoopSaslQOP.ordinal() > saslQOP.ordinal()) {
    LOG.warn(MessageFormat.format("\"hadoop.rpc.protection\" is set to higher security level " +
    "{0} then {1} which is set to {2}", hadoopSaslQOP.toString(),
    ConfVars.HIVE_SERVER2_THRIFT_SASL_QOP.varname, saslQOP.toString()));
    }
    {code}
    Since this code path is only used for logging hadoop sasl qop values in case hadoop's qop > hive's qop, we can do away with this and add a general log message.


    --
    This message was sent by Atlassian JIRA
    (v6.2#6252)
  • Vaibhav Gumashta (JIRA) at May 1, 2014 at 2:15 am
    [ https://issues.apache.org/jira/browse/HIVE-6741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13986297#comment-13986297 ]

    Vaibhav Gumashta commented on HIVE-6741:
    ----------------------------------------

    Thanks for review [~jdere].
    HiveServer2 startup fails in secure (kerberos) mode due to backward incompatible hadoop change
    ----------------------------------------------------------------------------------------------

    Key: HIVE-6741
    URL: https://issues.apache.org/jira/browse/HIVE-6741
    Project: Hive
    Issue Type: Bug
    Components: HiveServer2
    Affects Versions: 0.14.0
    Reporter: Vaibhav Gumashta
    Assignee: Vaibhav Gumashta
    Priority: Blocker
    Fix For: 0.14.0

    Attachments: HIVE-6741.1.patch, HIVE-6741.2.patch, HIVE-6741.3.patch


    [HADOOP-10211|https://issues.apache.org/jira/browse/HADOOP-10211] made a backward incompatible change due to which the following hive call returns a null map ([HiveAuthFactory-old|https://github.com/apache/hive/blob/fc3fdb19668369c56994d11df3207e14f2c5dba8/service/src/java/org/apache/hive/service/auth/HiveAuthFactory.java#L115]):
    {code}
    Map<String, String> hadoopSaslProps = ShimLoader.getHadoopThriftAuthBridge().
    getHadoopSaslProperties(conf);
    SaslQOP hadoopSaslQOP = SaslQOP.fromString(hadoopSaslProps.get(Sasl.QOP));
    if(hadoopSaslQOP.ordinal() > saslQOP.ordinal()) {
    LOG.warn(MessageFormat.format("\"hadoop.rpc.protection\" is set to higher security level " +
    "{0} then {1} which is set to {2}", hadoopSaslQOP.toString(),
    ConfVars.HIVE_SERVER2_THRIFT_SASL_QOP.varname, saslQOP.toString()));
    }
    {code}
    Since this code path is only used for logging hadoop sasl qop values in case hadoop's qop > hive's qop, we can do away with this and add a general log message.


    --
    This message was sent by Atlassian JIRA
    (v6.2#6252)
  • Lefty Leverenz (JIRA) at May 1, 2014 at 11:58 pm
    [ https://issues.apache.org/jira/browse/HIVE-6741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13987192#comment-13987192 ]

    Lefty Leverenz commented on HIVE-6741:
    --------------------------------------

    For the record: This adds information to the description of *hive.server2.thrift.sasl.qop* which was introduced in Hive 0.12.0, so I've put a comment in HIVE-6586 (for HIVE-6037) and updated the wiki here:

    * [Configuration Properties -- hive.server2.thrift.sasl.qop |https://cwiki.apache.org/confluence/display/Hive/Configuration+Properties#ConfigurationProperties-hive.server2.thrift.sasl.qop]
    * [HIVE-6586 comment |https://issues.apache.org/jira/browse/HIVE-6586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13987186#comment-13987186]
    HiveServer2 startup fails in secure (kerberos) mode due to backward incompatible hadoop change
    ----------------------------------------------------------------------------------------------

    Key: HIVE-6741
    URL: https://issues.apache.org/jira/browse/HIVE-6741
    Project: Hive
    Issue Type: Bug
    Components: HiveServer2
    Affects Versions: 0.14.0
    Reporter: Vaibhav Gumashta
    Assignee: Vaibhav Gumashta
    Priority: Blocker
    Fix For: 0.14.0

    Attachments: HIVE-6741.1.patch, HIVE-6741.2.patch, HIVE-6741.3.patch


    [HADOOP-10211|https://issues.apache.org/jira/browse/HADOOP-10211] made a backward incompatible change due to which the following hive call returns a null map ([HiveAuthFactory-old|https://github.com/apache/hive/blob/fc3fdb19668369c56994d11df3207e14f2c5dba8/service/src/java/org/apache/hive/service/auth/HiveAuthFactory.java#L115]):
    {code}
    Map<String, String> hadoopSaslProps = ShimLoader.getHadoopThriftAuthBridge().
    getHadoopSaslProperties(conf);
    SaslQOP hadoopSaslQOP = SaslQOP.fromString(hadoopSaslProps.get(Sasl.QOP));
    if(hadoopSaslQOP.ordinal() > saslQOP.ordinal()) {
    LOG.warn(MessageFormat.format("\"hadoop.rpc.protection\" is set to higher security level " +
    "{0} then {1} which is set to {2}", hadoopSaslQOP.toString(),
    ConfVars.HIVE_SERVER2_THRIFT_SASL_QOP.varname, saslQOP.toString()));
    }
    {code}
    Since this code path is only used for logging hadoop sasl qop values in case hadoop's qop > hive's qop, we can do away with this and add a general log message.


    --
    This message was sent by Atlassian JIRA
    (v6.2#6252)

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdev @
categorieshive, hadoop
postedMay 1, '14 at 1:37a
activeMay 1, '14 at 11:58p
posts4
users1
websitehive.apache.org

1 user in discussion

Lefty Leverenz (JIRA): 4 posts

People

Translate

site design / logo © 2021 Grokbase