hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carl Steinbach (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-1465) hive-site.xml ${user.name} not replaced for local-file derby metastore connection URL
Date Fri, 04 Feb 2011 22:30:31 GMT

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

Carl Steinbach commented on HIVE-1465:
--------------------------------------

Can someone please review this? It's a simple one-line fix (calling conf.get() to force variable
substitution for metastore properties).
Thanks!

> hive-site.xml ${user.name} not replaced for local-file derby metastore connection URL
> -------------------------------------------------------------------------------------
>
>                 Key: HIVE-1465
>                 URL: https://issues.apache.org/jira/browse/HIVE-1465
>             Project: Hive
>          Issue Type: Bug
>          Components: Configuration, Metastore
>    Affects Versions: 0.5.0, 0.6.0, 0.7.0
>            Reporter: Carl Steinbach
>            Assignee: Carl Steinbach
>         Attachments: HIVE-1464.1.patch.txt
>
>
> Seems that for this parameter
> {code}
> <property>
> <name>javax.jdo.option.ConnectionURL</name>
> <value>jdbc:derby:;databaseName=/var/lib/hive/metastore/${user.name}_db;create=true</value>
> <description>JDBC connect string for a JDBC metastore</description>
> </property>
> {code}
> $\{user.name\} is never replaced by the actual user name:
> {code}
> $ ls -la /var/lib/hive/metastore/
> total 24
> drwxrwxrwt 3 root root 4096 Apr 30 12:37 .
> drwxr-xr-x 3 root root 4096 Apr 30 12:25 ..
> drwxrwxr-x 5 hadoop hadoop 4096 Apr 30 12:37 ${user.name}_db
> {code}

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message