What is the default Amazon EMR hive password? - hive

I'm connecting to an Amazon EMR hivethriftserver2. I always got this information:
Could not open client transport with JDBC Uri: jdbc:****:10000: Peer indicated failure: Error validating the login
What is the right password to validate the login?

Empty
Username : ''
Password : ''.
However, if you are planning on running map-reduce jobs remotely, use the following configuration :-
Username : hadoop
Password : ''

Related

Impersonation fails on Apache Drill while having Kerberos enabled

I am using Apache Drill terminal interface (sqlline) to query various sources like hdfs (with dfs storage plugin). I have enabled impersonation property and Kerberos authentication and when I connect to
Drill (./sqlline -u "jdbc:drill:zk=<zookeper_quorum:port>;auth=kerberos") and execute a simple query which requires impersonation (show schemas;) it is failing with the error :
Error: Failure getting metadata: RESOURCE ERROR: Failed to create schema tree.
IOException: User: drill/primary#REALM is not allowed to impersonate
[Hint: Username is absent in connection URL or doesn't exist on Drillbit node. Please specify a username in connection URL which is present on Drillbit node.]
Any insights on what might be wrong ? The drillbit logs show the same error

User:admin credentials on Ambari UI are not in sync with Ranger

Ambari shows me an alert message:
"Ranger Admin password check
User:admin credentials on Ambari UI are not in sync with Ranger"
How I can resolve this ? What should I need to do.
I have tried to set the same password for (amb_ranger_admin, admin, etc) but it didn't help.
My version of Ambari is 2.7.1
HDP 3.0.1
This topic seems to have been discussed here: https://community.hortonworks.com/answers/221995/view.html
To summarize, the key steps are:
Set the password first in ranger and then in ambari
Check if the passwords are the same
If they are not the same? : Analyze which one (likely Ambari) is not updating the config
If they are the same? : Analyze why you still get the warning

cannot register my app to MFP remove server

I am having an issue deploying my app to a remote server. This is the error I get when trying run the cli add command:
mfpdev server add myqaserver --url https://mbmfp.mycompany.com --login admin --password aaaa --setdefault
Error: URL 'https://mbmfp.mycompany.com' is not valid. The URL must have the following format 'protocol://host:port'. Run 'mfpdev help server add' for more information.
My hostname name https://mbmfp.mycompany.com contains the port. So adding the port again will cause an issue
Initially, I tried the register command and was prompt to used the add command
mfpdev app register https://mbmfp.mycompany.com mfp
How do I fix this issue?
INFO
IBM MFP version 8.0.0-2016121916
Thanks
Doesn't look like you're executing the commands correctly...
Here's an example:
mfpdev server add
? Enter the name of the new server definition: mydevserver
? Enter the fully qualified URL of this server: http://mydevserver.example.com:9080
? Enter the MobileFirst Server administrator login ID: admin
? Enter the MobileFirst Server administrator password: admin
? Save the admin password for this server?: Yes
? Enter the context root of the MobileFirst administration services: mfpadmin
? Enter the MobileFirst Server connection timeout in seconds: 30
Verifying server configuration...
The following runtimes are currently installed on this server: mfp
Server profile 'mydevserver' added successfully.
Then, navigate to the root folder of the application and:
mfpdev app register mydevserver
Learn more here: https://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/8.0/application-development/using-mobilefirst-cli-to-manage-mobilefirst-artifacts/#add-a-new-server-instance

PostgreSQL 9.4 REMOTE password Authentication Failed for 'postgres' user, however able to connect LOCALLY with SAME USER

**I am able to connect LOCALLY to the postgres user but NOT Remotely. This is a different issue then the one noted in Auth Failed for Local Connection **
I have PostgreSQL installed on a VM, and am able to connect remotely with one user called 'myapp', but when I try to login remotely with the 'postgres' user I get an:
Error connecting to the server: FATAL: password authentication failed for user "postgres" FATAL: password authentication failed for user "postgres"
However when I attempt to login locally as postgres it succeeds:
vagrant#postgresql:~$ psql -U postgres
Password for user postgres:
psql (9.4.5)
Type "help" for help.
postgres=#
Here are the full configurations for my pg_hba.conf file:
local all postgres md5
local all all md5
host all all 0.0.0.0/0 md5
Also I added:
postgresql.conf:
listen_addresses = '*'
Please help me understand what I am doing wrong, why is it that a random user can login from a remote connection but then I cannot log into postgres user remotely? The key here is that I want to be able to create a user that I can log in remotely. i'm seeing the same issue when creating
create role me with login password 'me'; , with that I cannot log in remotely either but locally I can.

RabbitMQ on Openstack Juno

I am installing Openstack Juno on Fedora 19. I have deleted RabbitMQ default user "guest" and create a new user named "demo". And in all nova.conf I config rabbit_userid=demo. But connected to localhost:5672 failed. From the rabbitmq log, RabbitMQ still use default user "guest" to connect.I tried to set default_user "demo" in rabbitmq.conf but it doesn't work.Why and how to resolve?
Following is the error log:
{handshake_error,starting,0,{amqp_error,access_refused, "AMQPLAIN login refused: user 'guest'- invalid credentials",'connection.start_ok'}}`
The content in rabbitmq.conf:
[ {rabbit, [{default_pass, [<<"demo">>]}], [{default_user, [<<"demo">>]}]} ].
You need to set the user and password on your application AMQP Client. RabbitMQ default user has nothing to do with that. So if you want to use user demo and password demo, then when you open a connection on the application side, you have to use those credentials