hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (JIRA)" <>
Subject [jira] [Resolved] (HIVE-3730) Include the metastore hostname when a connection to metastore fails due to Acces Denied
Date Sat, 29 Dec 2012 03:48:13 GMT


Ashutosh Chauhan resolved HIVE-3730.

    Resolution: Invalid

<client_hostname> is the mysql host on which access is denied. Further, this exception
and thus the corresponding error message is thrown from datanucleus which cannot be modified
> Include the metastore hostname when a connection to metastore fails due to Acces Denied
> ---------------------------------------------------------------------------------------
>                 Key: HIVE-3730
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore
>    Affects Versions: 0.9.0
>            Reporter: Lenni Kuff
>            Priority: Minor
> The current error message (from a mysql metastore) looks like {{Access denied for user
'hive'@'<client_hostname>'}}. This doesn't include the actual metastore hostname which
makes it a bit harder to debug. It would be nice if this error message looked something like:
{{Access denied for user 'hive'@'<client_hostname>' connecting to <metastore_hostname>}}
> Example error:
> {code}
>  javax.jdo.JDOFatalDataStoreException: Access denied for user 'hive'@'client_hostname'
(using password: YES)
> at org.datanucleus.jdo.NucleusJDOHelper.getJDOExceptionForNucleusException(
> at org.datanucleus.jdo.JDOPersistenceManagerFactory.freezeConfiguration(
> at org.datanucleus.jdo.JDOPersistenceManagerFactory.createPersistenceManagerFactory(
> at org.datanucleus.jdo.JDOPersistenceManagerFactory.getPersistenceManagerFactory(
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> at java.lang.reflect.Method.invoke(
> at javax.jdo.JDOHelper$
> at Method)
> at javax.jdo.JDOHelper.invoke(
> at javax.jdo.JDOHelper.invokeGetPersistenceManagerFactoryOnImplementation(
> at javax.jdo.JDOHelper.getPersistenceManagerFactory(
> at javax.jdo.JDOHelper.getPersistenceManagerFactory(
> at org.apache.hadoop.hive.metastore.ObjectStore.getPMF(
> at org.apache.hadoop.hive.metastore.ObjectStore.getPersistenceManager(
> {code}

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message