[jira] [Updated] (HBASE-10164) Allow heapsize of different units to be passed as HBASE_HEAPSIZE
[ https://issues.apache.org/jira/browse/HBASE-10164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Yu updated HBASE-10164: --- Attachment: 10164-v2.txt > Allow heapsize of different units to be passed as HBASE_HEAPSIZE > > > Key: HBASE-10164 > URL: https://issues.apache.org/jira/browse/HBASE-10164 > Project: HBase > Issue Type: Improvement >Reporter: Ted Yu >Assignee: Ted Yu > Fix For: 0.98.0, 0.99.0 > > Attachments: 10164-v1.txt, 10164-v2.txt > > > Currently HBASE_HEAPSIZE doesn't expect units. > {code} > $ HBASE_HEAPSIZE=5G /usr/lib/hbase/bin/hbase shell > Invalid maximum heap size: -Xmx5Gm > Error: Could not create the Java Virtual Machine. > Error: A fatal exception has occurred. Program will exit. > {code} > It would be more user friendly if different units of heapsize can be passed > through HBASE_HEAPSIZE > If unit ('m' or 'G') is specified, 'm' doesn't need to be appended. -- This message was sent by Atlassian JIRA (v6.1.4#6159)
[jira] [Updated] (HBASE-10164) Allow heapsize of different units to be passed as HBASE_HEAPSIZE
[ https://issues.apache.org/jira/browse/HBASE-10164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Yu updated HBASE-10164: --- Status: Open (was: Patch Available) > Allow heapsize of different units to be passed as HBASE_HEAPSIZE > > > Key: HBASE-10164 > URL: https://issues.apache.org/jira/browse/HBASE-10164 > Project: HBase > Issue Type: Improvement >Reporter: Ted Yu >Assignee: Ted Yu > Fix For: 0.98.0, 0.99.0 > > Attachments: 10164-v1.txt, 10164-v2.txt > > > Currently HBASE_HEAPSIZE doesn't expect units. > {code} > $ HBASE_HEAPSIZE=5G /usr/lib/hbase/bin/hbase shell > Invalid maximum heap size: -Xmx5Gm > Error: Could not create the Java Virtual Machine. > Error: A fatal exception has occurred. Program will exit. > {code} > It would be more user friendly if different units of heapsize can be passed > through HBASE_HEAPSIZE > If unit ('m' or 'G') is specified, 'm' doesn't need to be appended. -- This message was sent by Atlassian JIRA (v6.1.4#6159)
[jira] [Updated] (HBASE-10164) Allow heapsize of different units to be passed as HBASE_HEAPSIZE
[ https://issues.apache.org/jira/browse/HBASE-10164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Yu updated HBASE-10164: --- Release Note: HBASE_HEAPSIZE accepts input with units (m, M, g, G). If there is no unit, an 'm' would be appended to the value - keeping backward compatibility. Thanks for the review, I will make the correction upon commit. > Allow heapsize of different units to be passed as HBASE_HEAPSIZE > > > Key: HBASE-10164 > URL: https://issues.apache.org/jira/browse/HBASE-10164 > Project: HBase > Issue Type: Improvement >Reporter: Ted Yu >Assignee: Ted Yu > Fix For: 0.98.0, 0.99.0 > > Attachments: 10164-v1.txt > > > Currently HBASE_HEAPSIZE doesn't expect units. > {code} > $ HBASE_HEAPSIZE=5G /usr/lib/hbase/bin/hbase shell > Invalid maximum heap size: -Xmx5Gm > Error: Could not create the Java Virtual Machine. > Error: A fatal exception has occurred. Program will exit. > {code} > It would be more user friendly if different units of heapsize can be passed > through HBASE_HEAPSIZE > If unit ('m' or 'G') is specified, 'm' doesn't need to be appended. -- This message was sent by Atlassian JIRA (v6.1.4#6159)
[jira] [Updated] (HBASE-10164) Allow heapsize of different units to be passed as HBASE_HEAPSIZE
[ https://issues.apache.org/jira/browse/HBASE-10164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Yu updated HBASE-10164: --- Fix Version/s: 0.99.0 0.98.0 Hadoop Flags: Reviewed > Allow heapsize of different units to be passed as HBASE_HEAPSIZE > > > Key: HBASE-10164 > URL: https://issues.apache.org/jira/browse/HBASE-10164 > Project: HBase > Issue Type: Improvement >Reporter: Ted Yu >Assignee: Ted Yu > Fix For: 0.98.0, 0.99.0 > > Attachments: 10164-v1.txt > > > Currently HBASE_HEAPSIZE doesn't expect units. > {code} > $ HBASE_HEAPSIZE=5G /usr/lib/hbase/bin/hbase shell > Invalid maximum heap size: -Xmx5Gm > Error: Could not create the Java Virtual Machine. > Error: A fatal exception has occurred. Program will exit. > {code} > It would be more user friendly if different units of heapsize can be passed > through HBASE_HEAPSIZE > If unit ('m' or 'G') is specified, 'm' doesn't need to be appended. -- This message was sent by Atlassian JIRA (v6.1.4#6159)
[jira] [Updated] (HBASE-10164) Allow heapsize of different units to be passed as HBASE_HEAPSIZE
[ https://issues.apache.org/jira/browse/HBASE-10164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Yu updated HBASE-10164: --- Assignee: Ted Yu Status: Patch Available (was: Open) > Allow heapsize of different units to be passed as HBASE_HEAPSIZE > > > Key: HBASE-10164 > URL: https://issues.apache.org/jira/browse/HBASE-10164 > Project: HBase > Issue Type: Improvement >Reporter: Ted Yu >Assignee: Ted Yu > Attachments: 10164-v1.txt > > > Currently HBASE_HEAPSIZE doesn't expect units. > {code} > $ HBASE_HEAPSIZE=5G /usr/lib/hbase/bin/hbase shell > Invalid maximum heap size: -Xmx5Gm > Error: Could not create the Java Virtual Machine. > Error: A fatal exception has occurred. Program will exit. > {code} > It would be more user friendly if different units of heapsize can be passed > through HBASE_HEAPSIZE > If unit ('m' or 'G') is specified, 'm' doesn't need to be appended. -- This message was sent by Atlassian JIRA (v6.1.4#6159)
[jira] [Updated] (HBASE-10164) Allow heapsize of different units to be passed as HBASE_HEAPSIZE
[ https://issues.apache.org/jira/browse/HBASE-10164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Yu updated HBASE-10164: --- Attachment: 10164-v1.txt > Allow heapsize of different units to be passed as HBASE_HEAPSIZE > > > Key: HBASE-10164 > URL: https://issues.apache.org/jira/browse/HBASE-10164 > Project: HBase > Issue Type: Improvement >Reporter: Ted Yu > Attachments: 10164-v1.txt > > > Currently HBASE_HEAPSIZE doesn't expect units. > {code} > $ HBASE_HEAPSIZE=5G /usr/lib/hbase/bin/hbase shell > Invalid maximum heap size: -Xmx5Gm > Error: Could not create the Java Virtual Machine. > Error: A fatal exception has occurred. Program will exit. > {code} > It would be more user friendly if different units of heapsize can be passed > through HBASE_HEAPSIZE > If unit ('m' or 'G') is specified, 'm' doesn't need to be appended. -- This message was sent by Atlassian JIRA (v6.1.4#6159)