Options
- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Solved
Go to solution
hbase user iis currently not available.
Labels:
- Labels:
-
Apache Hadoop
-
Apache HBase
Explorer
Created on ‎07-17-2014 04:42 AM - edited ‎09-16-2022 02:02 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1 I use CDH4.4.0 and CM4.4.7 to make my hadoop cluster.
2 I Sing in the hbase cluster mathine,the execute the commond 'su hbase'
3 the result is :This account is currently not available.
4 What`s the reason for this ? for safty?
1 ACCEPTED SOLUTION
Mentor
Created ‎07-19-2014 10:06 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You receive the error because the 'hbase' user does not have a login shell assigned to it.
You can set a shell for the 'hbase' user on the machine, to allow direct 'su' based login to that user, by following http://www.cyberciti.biz/faq/howto-set-bash-as-your-default-shell/
However, if your goal is to simply use the 'hbase' user for running superuser level commands, we instead recommend using 'sudo' style commands. For example:
~> sudo -u hbase hbase hbck
~> sudo -u hbase hbase shell
You can also invoke a shell as the 'hbase' user in certain cases, via:
~> sudo -u hbase /bin/bash
You can set a shell for the 'hbase' user on the machine, to allow direct 'su' based login to that user, by following http://www.cyberciti.biz/faq/howto-set-bash-as-your-default-shell/
However, if your goal is to simply use the 'hbase' user for running superuser level commands, we instead recommend using 'sudo' style commands. For example:
~> sudo -u hbase hbase hbck
~> sudo -u hbase hbase shell
You can also invoke a shell as the 'hbase' user in certain cases, via:
~> sudo -u hbase /bin/bash
1 REPLY 1
Mentor
Created ‎07-19-2014 10:06 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You receive the error because the 'hbase' user does not have a login shell assigned to it.
You can set a shell for the 'hbase' user on the machine, to allow direct 'su' based login to that user, by following http://www.cyberciti.biz/faq/howto-set-bash-as-your-default-shell/
However, if your goal is to simply use the 'hbase' user for running superuser level commands, we instead recommend using 'sudo' style commands. For example:
~> sudo -u hbase hbase hbck
~> sudo -u hbase hbase shell
You can also invoke a shell as the 'hbase' user in certain cases, via:
~> sudo -u hbase /bin/bash
You can set a shell for the 'hbase' user on the machine, to allow direct 'su' based login to that user, by following http://www.cyberciti.biz/faq/howto-set-bash-as-your-default-shell/
However, if your goal is to simply use the 'hbase' user for running superuser level commands, we instead recommend using 'sudo' style commands. For example:
~> sudo -u hbase hbase hbck
~> sudo -u hbase hbase shell
You can also invoke a shell as the 'hbase' user in certain cases, via:
~> sudo -u hbase /bin/bash
