hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sushanth Sowmyan (JIRA)" <>
Subject [jira] [Commented] (HIVE-4576) does not allow values with commas
Date Tue, 06 May 2014 00:02:15 GMT


Sushanth Sowmyan commented on HIVE-4576:

After discussion on Eugene on whether this was a bugfix or a new feature to see if it should
be included in 0.13.1, my understanding is now that this is a bugfix for cases where hive.metastore.uris
can be a comma-separated value, and this bug breaks being able to use webhcat on those warehouses.
Thus, I feel that a tag of "minor" is inappropriate, and am bumping it up.

> does not allow values with commas
> -----------------------------------------------------------
>                 Key: HIVE-4576
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: WebHCat
>    Affects Versions: 0.5.0
>            Reporter: Vitaliy Fuks
>            Assignee: Eugene Koifman
>            Priority: Minor
>             Fix For: 0.14.0
>         Attachments: HIVE-4576.2.patch, HIVE-4576.patch
> accepts a comma-separated list of key=value property pairs
that will be passed to Hive.
> However, this makes it impossible to use any "value" that itself has a comma in it.
> For example:
> {code:xml}<property>
>   <name></name>
>   <value>hive.metastore.sasl.enabled=false,hive.metastore.uris=thrift://,</value>
> </property>{code}
> {noformat}templeton: starting [/usr/bin/hive, --service, cli, --hiveconf, hive.metastore.sasl.enabled=false,
--hiveconf, hive.metastore.uris=thrift://, --hiveconf,
> because the value is parsed using standard org.apache.hadoop.conf.Configuration.getStrings()
call which simply splits on commas from here:
> {code:java}for (String prop : appConf.getStrings(AppConfig.HIVE_PROPS_NAME)){code}
> This is problematic for any hive property that itself has multiple values, such as hive.metastore.uris
above or hive.aux.jars.path.
> There should be some way to "escape" commas or a different delimiter should be used.

This message was sent by Atlassian JIRA

View raw message