Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st. We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here. Need help or have questions? Drop us a line at [email protected]
Changed Ambari from root to non-root user and hiveview doesn't work. Ambari hive view fails with Usernames not matched error.
ERROR:
Service 'userhome' check failed:
java.io.IOException: Usernames not matched: name=ambari-server-<cluster_name> != expected=<custom_user>
at sun.reflect.GeneratedConstructorAccessor243.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at org.apache.hadoop.ipc.RemoteException.instantiateException(RemoteException.java:106)
ROOT CAUSE: Configuration issue on Ambari Hive view definition as username doesn't match.
SOLUTION: Navigate to Hive and YARN Configs in Ambari UI and change as below and restart respective services.