[jira] [Updated] (HIVE-15953) better error messages for LLAP registry properties

2017-02-17 Thread Sergey Shelukhin (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-15953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sergey Shelukhin updated HIVE-15953:

Attachment: HIVE-15953.patch

[~prasanth_j] [~rajesh.balamohan] can you take a look? tiny patch

> better error messages for LLAP registry properties
> --
>
> Key: HIVE-15953
> URL: https://issues.apache.org/jira/browse/HIVE-15953
> Project: Hive
>  Issue Type: Bug
>Reporter: Sergey Shelukhin
> Attachments: HIVE-15953.patch
>
>
> {noformat}
>   int memory = 
> Integer.parseInt(srv.get(ConfVars.LLAP_DAEMON_MEMORY_PER_INSTANCE_MB.varname));
>   int vCores = 
> Integer.parseInt(srv.get(ConfVars.LLAP_DAEMON_NUM_EXECUTORS.varname));
> {noformat}
> Needs to provide a useful error message when it fails because the config is 
> bad. There may be other similar places.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (HIVE-15953) better error messages for LLAP registry properties

2017-02-17 Thread Sergey Shelukhin (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-15953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sergey Shelukhin updated HIVE-15953:

Assignee: Sergey Shelukhin
  Status: Patch Available  (was: Open)

> better error messages for LLAP registry properties
> --
>
> Key: HIVE-15953
> URL: https://issues.apache.org/jira/browse/HIVE-15953
> Project: Hive
>  Issue Type: Bug
>Reporter: Sergey Shelukhin
>Assignee: Sergey Shelukhin
> Attachments: HIVE-15953.patch
>
>
> {noformat}
>   int memory = 
> Integer.parseInt(srv.get(ConfVars.LLAP_DAEMON_MEMORY_PER_INSTANCE_MB.varname));
>   int vCores = 
> Integer.parseInt(srv.get(ConfVars.LLAP_DAEMON_NUM_EXECUTORS.varname));
> {noformat}
> Needs to provide a useful error message when it fails because the config is 
> bad. There may be other similar places.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (HIVE-15953) better error messages for LLAP registry properties

2017-02-21 Thread Sergey Shelukhin (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-15953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sergey Shelukhin updated HIVE-15953:

   Resolution: Fixed
Fix Version/s: 2.2.0
   Status: Resolved  (was: Patch Available)

Committed to master. Thanks for the review!

> better error messages for LLAP registry properties
> --
>
> Key: HIVE-15953
> URL: https://issues.apache.org/jira/browse/HIVE-15953
> Project: Hive
>  Issue Type: Bug
>Reporter: Sergey Shelukhin
>Assignee: Sergey Shelukhin
> Fix For: 2.2.0
>
> Attachments: HIVE-15953.patch
>
>
> {noformat}
>   int memory = 
> Integer.parseInt(srv.get(ConfVars.LLAP_DAEMON_MEMORY_PER_INSTANCE_MB.varname));
>   int vCores = 
> Integer.parseInt(srv.get(ConfVars.LLAP_DAEMON_NUM_EXECUTORS.varname));
> {noformat}
> Needs to provide a useful error message when it fails because the config is 
> bad. There may be other similar places.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)