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

Dhruv Kumar commented on AMBARI-11823:
--------------------------------------

[~irina.easterl...@teradata.com], you need to add the "accumulo" user to 
Accumulo. Please see Accumulo's [documentation | 
https://accumulo.apache.org/1.7/accumulo_user_manual.html#_user_administration] 
for doing this.

During HDP's installation, Ambari creates a UNIX account for each HDP component 
by the same name (called service accounts). Each component is then run under 
the UNIX account. Hence, YARN processes are run by a user called "yarn", Spark 
processes are run under a user called "spark", and Accumulo process is run 
under "accumulo."

Accumulo's users themselves need to be added to Accumulo seperately. Think of 
Accumulo like a database, which contains specific users. In the example you've 
cited, there are three users in accumulo: trace, ambari-qa and root. There is 
no user called "accumulo" inside Accumulo. So, please add "accumulo" by issuing 
the "createuser" once inside accumulo shell. Once the user is added, you can 
start the shell with that "accumulo" user and password. 

> Accumulo user could not access to the accumulo shell with valid password
> ------------------------------------------------------------------------
>
>                 Key: AMBARI-11823
>                 URL: https://issues.apache.org/jira/browse/AMBARI-11823
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-web
>    Affects Versions: 2.1.0
>         Environment: HDP      2.3
> AMBARI_SERVER 2.1.0
> teradata-hadoop-tools 2.3.50.67
> teradata-hdp-release  2.3.0.0
> --------------------------------+
> ambari-server-2.1.0-997
> ambari-agent-2.1.0-997
> hdp-2.3.0.0-2297
> teradata-hadoop-builder-2.3.20.202-1
>            Reporter: Irina Easterling
>
> Accumulo user could not access to the accumulo shell with valid password. 
> It is getting error 
> 2015-06-09 15:26:33,324 [trace.DistributedTrace] INFO : SpanReceiver 
> org.apache.accumulo.tracer.ZooTraceClient was loaded successfully.
> 2015-06-09 15:26:33,440 [shell.Shell] ERROR: 
> org.apache.accumulo.core.client.AccumuloSecurityException: Error 
> BAD_CREDENTIALS for user accumulo - Username or Password is Invalid
> This user is created during Accumulo installation, and it is listed in Ambari 
>  under Service Accounts.
> Steps to reproduce:
> 1. Install Accumulo following instructions via Ambari 
> 2. Set up password during installation of Accumulo for Accumulo root 
> password, Trace user password, Instance Secret as admin
> 3. When Accumulo installation completed try to run test from Accumulo Shell
> odin1:/usr/hdp/current/accumulo-client/bin # accumulo shell -u accumulo -p 
> admin
> [INFO] Unable to bind key for unsupported operation: backward-delete-word
> [INFO] Unable to bind key for unsupported operation: backward-delete-word
> [INFO] Unable to bind key for unsupported operation: down-history
> [INFO] Unable to bind key for unsupported operation: up-history
> [INFO] Unable to bind key for unsupported operation: up-history
> [INFO] Unable to bind key for unsupported operation: down-history
> [INFO] Unable to bind key for unsupported operation: up-history
> [INFO] Unable to bind key for unsupported operation: down-history
> [INFO] Unable to bind key for unsupported operation: up-history
> [INFO] Unable to bind key for unsupported operation: down-history
> [INFO] Unable to bind key for unsupported operation: up-history
> [INFO] Unable to bind key for unsupported operation: down-history
> 2015-06-09 15:26:33,324 [trace.DistributedTrace] INFO : SpanReceiver 
> org.apache.accumulo.tracer.ZooTraceClient was loaded successfully.
> 2015-06-09 15:26:33,440 [shell.Shell] ERROR: 
> org.apache.accumulo.core.client.AccumuloSecurityException: Error 
> BAD_CREDENTIALS for user accumulo - Username or Password is Invalid
> //Look like 'accumulo' user does not exist 
> ambari-qa@hdp-accumulo-instance> users
> trace
> ambari-qa
> root
> ambari-qa@hdp-accumulo-instance>



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

Reply via email to