You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2016/01/13 16:03:39 UTC

[jira] [Commented] (AMBARI-14646) Streamline the usage pattern for kinit'ing in code

    [ https://issues.apache.org/jira/browse/AMBARI-14646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15096305#comment-15096305 ] 

Hudson commented on AMBARI-14646:
---------------------------------

ABORTED: Integrated in Ambari-trunk-Commit #4163 (See [https://builds.apache.org/job/Ambari-trunk-Commit/4163/])
AMBARI-14646. Streamline the usage pattern for kinit'ing in code (aonishuk: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=8896d892c4b700b0db12d0cee5c56202fd4d194c])
* ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hcat_service_check.py
* ambari-common/src/main/python/resource_management/libraries/providers/execute_hadoop.py
* ambari-server/src/test/python/stacks/2.0.6/HDFS/test_namenode.py
* ambari-agent/src/test/python/resource_management/TestExecuteHadoopResource.py
* ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_namenode.py
* ambari-common/src/main/python/resource_management/libraries/resources/execute_hadoop.py
* ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hive_service_check.py


> Streamline the usage pattern for kinit'ing in code
> --------------------------------------------------
>
>                 Key: AMBARI-14646
>                 URL: https://issues.apache.org/jira/browse/AMBARI-14646
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-14646.patch
>
>
> Library methods such as `ExecuteHadoop` has the ability to call kinit if
> appropriate parameters are specified but it looks like its not being used.
> This results in bugs as folks
> may forget to add the statement to kinit at the right place.
> We should look into all location where `ExecuteHadoop` is used and check if
> the usage can be cleaned up. There are about 6 services that use
> `ExecuteHadoop` so it should not be a large task and we should use the
> inherent ability to kinit that is available.
> If for some reason it can't be used then lets remove the code to kinit from
> the implementation of `ExecuteHadoop`.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)