hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thejas M Nair (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-14068) make more effort to find hive-site.xml
Date Wed, 22 Jun 2016 00:34:58 GMT

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

Thejas M Nair commented on HIVE-14068:
--------------------------------------

1. The errors should go to stderr. Can you replace System.out with System.err
2. The found message can be logged at INFO level. This can be very useful message and it would
get logged just once per jvm, so that should be fine.


> make more effort to find hive-site.xml
> --------------------------------------
>
>                 Key: HIVE-14068
>                 URL: https://issues.apache.org/jira/browse/HIVE-14068
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>         Attachments: HIVE-14068.01.patch, HIVE-14068.patch
>
>
> It pretty much doesn't make sense to run Hive w/o the config, so we should make more
effort to find one if it's missing on the classpath, or the classloader does not return it
for some reason (e.g. classloader ignores some permission issues; explicitly looking for the
file may expose them better)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message