[jira] [Commented] (HBASE-13229) Bug compatibility validation to start local-regionservers.sh and local-master-backup.sh
[ https://issues.apache.org/jira/browse/HBASE-13229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14360790#comment-14360790 ] Gustavo Anatoly commented on HBASE-13229: - [~purtell] Could you please remove duplicate commentaries? > Bug compatibility validation to start local-regionservers.sh and > local-master-backup.sh > --- > > Key: HBASE-13229 > URL: https://issues.apache.org/jira/browse/HBASE-13229 > Project: HBase > Issue Type: Bug > Components: scripts >Affects Versions: 0.94.0, 0.98.0, 1.0.0 >Reporter: Gustavo Anatoly >Assignee: Gustavo Anatoly >Priority: Minor > Labels: beginner > Attachments: HBASE-13229.patch > > > Running the following line, using /bin/sh: > $ bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ start 1 2 > 3 4 5 > Produces the output below: > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > Considering: > {code} > if [[ "$i" =~ ^[0-9]+$ ]]; then >run_master $cmd $i > else >echo "Invalid argument" > fi > {code} > The reasons is that the regex operator =~ doesn't have compatibility with > /bin/sh but works running /bin/bash > $ bash -x bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ > start 1 2 3 4 5 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-13229) Bug compatibility validation to start local-regionservers.sh and local-master-backup.sh
[ https://issues.apache.org/jira/browse/HBASE-13229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14360776#comment-14360776 ] Gustavo Anatoly commented on HBASE-13229: - Hi, [~apurtell] {quote} ... but it's not a bug technically {quote} I agree, thinking a little better this issue could be an improvement based on compatibility. > Bug compatibility validation to start local-regionservers.sh and > local-master-backup.sh > --- > > Key: HBASE-13229 > URL: https://issues.apache.org/jira/browse/HBASE-13229 > Project: HBase > Issue Type: Bug > Components: scripts >Affects Versions: 0.94.0, 0.98.0, 1.0.0 >Reporter: Gustavo Anatoly >Assignee: Gustavo Anatoly >Priority: Minor > Labels: beginner > Attachments: HBASE-13229.patch > > > Running the following line, using /bin/sh: > $ bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ start 1 2 > 3 4 5 > Produces the output below: > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > Considering: > {code} > if [[ "$i" =~ ^[0-9]+$ ]]; then >run_master $cmd $i > else >echo "Invalid argument" > fi > {code} > The reasons is that the regex operator =~ doesn't have compatibility with > /bin/sh but works running /bin/bash > $ bash -x bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ > start 1 2 3 4 5 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-13229) Bug compatibility validation to start local-regionservers.sh and local-master-backup.sh
[ https://issues.apache.org/jira/browse/HBASE-13229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14360772#comment-14360772 ] Gustavo Anatoly commented on HBASE-13229: - Hi, [~apurtell] {quote} ... but it's not a bug technically {quote} I agree, thinking a little better this issue could be an improvement based on compatibility. > Bug compatibility validation to start local-regionservers.sh and > local-master-backup.sh > --- > > Key: HBASE-13229 > URL: https://issues.apache.org/jira/browse/HBASE-13229 > Project: HBase > Issue Type: Bug > Components: scripts >Affects Versions: 0.94.0, 0.98.0, 1.0.0 >Reporter: Gustavo Anatoly >Assignee: Gustavo Anatoly >Priority: Minor > Labels: beginner > Attachments: HBASE-13229.patch > > > Running the following line, using /bin/sh: > $ bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ start 1 2 > 3 4 5 > Produces the output below: > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > Considering: > {code} > if [[ "$i" =~ ^[0-9]+$ ]]; then >run_master $cmd $i > else >echo "Invalid argument" > fi > {code} > The reasons is that the regex operator =~ doesn't have compatibility with > /bin/sh but works running /bin/bash > $ bash -x bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ > start 1 2 3 4 5 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-13229) Bug compatibility validation to start local-regionservers.sh and local-master-backup.sh
[ https://issues.apache.org/jira/browse/HBASE-13229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14360768#comment-14360768 ] Gustavo Anatoly commented on HBASE-13229: - Hi, [~apurtell] {quote} ... but it's not a bug technically {quote} I agree, thinking a little better this issue could be an improvement based on compatibility. > Bug compatibility validation to start local-regionservers.sh and > local-master-backup.sh > --- > > Key: HBASE-13229 > URL: https://issues.apache.org/jira/browse/HBASE-13229 > Project: HBase > Issue Type: Bug > Components: scripts >Affects Versions: 0.94.0, 0.98.0, 1.0.0 >Reporter: Gustavo Anatoly >Assignee: Gustavo Anatoly >Priority: Minor > Labels: beginner > Attachments: HBASE-13229.patch > > > Running the following line, using /bin/sh: > $ bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ start 1 2 > 3 4 5 > Produces the output below: > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > Considering: > {code} > if [[ "$i" =~ ^[0-9]+$ ]]; then >run_master $cmd $i > else >echo "Invalid argument" > fi > {code} > The reasons is that the regex operator =~ doesn't have compatibility with > /bin/sh but works running /bin/bash > $ bash -x bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ > start 1 2 3 4 5 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-13229) Bug compatibility validation to start local-regionservers.sh and local-master-backup.sh
[ https://issues.apache.org/jira/browse/HBASE-13229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14360770#comment-14360770 ] Gustavo Anatoly commented on HBASE-13229: - Hi, [~apurtell] {quote} ... but it's not a bug technically {quote} I agree, thinking a little better this issue could be an improvement based on compatibility. > Bug compatibility validation to start local-regionservers.sh and > local-master-backup.sh > --- > > Key: HBASE-13229 > URL: https://issues.apache.org/jira/browse/HBASE-13229 > Project: HBase > Issue Type: Bug > Components: scripts >Affects Versions: 0.94.0, 0.98.0, 1.0.0 >Reporter: Gustavo Anatoly >Assignee: Gustavo Anatoly >Priority: Minor > Labels: beginner > Attachments: HBASE-13229.patch > > > Running the following line, using /bin/sh: > $ bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ start 1 2 > 3 4 5 > Produces the output below: > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > Considering: > {code} > if [[ "$i" =~ ^[0-9]+$ ]]; then >run_master $cmd $i > else >echo "Invalid argument" > fi > {code} > The reasons is that the regex operator =~ doesn't have compatibility with > /bin/sh but works running /bin/bash > $ bash -x bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ > start 1 2 3 4 5 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-13229) Bug compatibility validation to start local-regionservers.sh and local-master-backup.sh
[ https://issues.apache.org/jira/browse/HBASE-13229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14360756#comment-14360756 ] Gustavo Anatoly commented on HBASE-13229: - Hi, [~apurtell] {quote} ... but it's not a bug technically {quote} I agree, thinking a little better this issue could be an improvement based on compatibility. > Bug compatibility validation to start local-regionservers.sh and > local-master-backup.sh > --- > > Key: HBASE-13229 > URL: https://issues.apache.org/jira/browse/HBASE-13229 > Project: HBase > Issue Type: Bug > Components: scripts >Affects Versions: 0.94.0, 0.98.0, 1.0.0 >Reporter: Gustavo Anatoly >Assignee: Gustavo Anatoly >Priority: Minor > Labels: beginner > Attachments: HBASE-13229.patch > > > Running the following line, using /bin/sh: > $ bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ start 1 2 > 3 4 5 > Produces the output below: > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > Considering: > {code} > if [[ "$i" =~ ^[0-9]+$ ]]; then >run_master $cmd $i > else >echo "Invalid argument" > fi > {code} > The reasons is that the regex operator =~ doesn't have compatibility with > /bin/sh but works running /bin/bash > $ bash -x bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ > start 1 2 3 4 5 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-13229) Bug compatibility validation to start local-regionservers.sh and local-master-backup.sh
[ https://issues.apache.org/jira/browse/HBASE-13229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14360766#comment-14360766 ] Gustavo Anatoly commented on HBASE-13229: - Hi, [~apurtell] {quote} ... but it's not a bug technically {quote} I agree, thinking a little better this issue could be an improvement based on compatibility. > Bug compatibility validation to start local-regionservers.sh and > local-master-backup.sh > --- > > Key: HBASE-13229 > URL: https://issues.apache.org/jira/browse/HBASE-13229 > Project: HBase > Issue Type: Bug > Components: scripts >Affects Versions: 0.94.0, 0.98.0, 1.0.0 >Reporter: Gustavo Anatoly >Assignee: Gustavo Anatoly >Priority: Minor > Labels: beginner > Attachments: HBASE-13229.patch > > > Running the following line, using /bin/sh: > $ bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ start 1 2 > 3 4 5 > Produces the output below: > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > Considering: > {code} > if [[ "$i" =~ ^[0-9]+$ ]]; then >run_master $cmd $i > else >echo "Invalid argument" > fi > {code} > The reasons is that the regex operator =~ doesn't have compatibility with > /bin/sh but works running /bin/bash > $ bash -x bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ > start 1 2 3 4 5 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-13229) Bug compatibility validation to start local-regionservers.sh and local-master-backup.sh
[ https://issues.apache.org/jira/browse/HBASE-13229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14360778#comment-14360778 ] Gustavo Anatoly commented on HBASE-13229: - Hi, [~apurtell] {quote} ... but it's not a bug technically {quote} I agree, thinking a little better this issue could be an improvement based on compatibility. > Bug compatibility validation to start local-regionservers.sh and > local-master-backup.sh > --- > > Key: HBASE-13229 > URL: https://issues.apache.org/jira/browse/HBASE-13229 > Project: HBase > Issue Type: Bug > Components: scripts >Affects Versions: 0.94.0, 0.98.0, 1.0.0 >Reporter: Gustavo Anatoly >Assignee: Gustavo Anatoly >Priority: Minor > Labels: beginner > Attachments: HBASE-13229.patch > > > Running the following line, using /bin/sh: > $ bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ start 1 2 > 3 4 5 > Produces the output below: > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > Considering: > {code} > if [[ "$i" =~ ^[0-9]+$ ]]; then >run_master $cmd $i > else >echo "Invalid argument" > fi > {code} > The reasons is that the regex operator =~ doesn't have compatibility with > /bin/sh but works running /bin/bash > $ bash -x bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ > start 1 2 3 4 5 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-13229) Bug compatibility validation to start local-regionservers.sh and local-master-backup.sh
[ https://issues.apache.org/jira/browse/HBASE-13229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14360758#comment-14360758 ] Gustavo Anatoly commented on HBASE-13229: - Hi, [~apurtell] {quote} ... but it's not a bug technically {quote} I agree, thinking a little better this issue could be an improvement based on compatibility. > Bug compatibility validation to start local-regionservers.sh and > local-master-backup.sh > --- > > Key: HBASE-13229 > URL: https://issues.apache.org/jira/browse/HBASE-13229 > Project: HBase > Issue Type: Bug > Components: scripts >Affects Versions: 0.94.0, 0.98.0, 1.0.0 >Reporter: Gustavo Anatoly >Assignee: Gustavo Anatoly >Priority: Minor > Labels: beginner > Attachments: HBASE-13229.patch > > > Running the following line, using /bin/sh: > $ bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ start 1 2 > 3 4 5 > Produces the output below: > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > Considering: > {code} > if [[ "$i" =~ ^[0-9]+$ ]]; then >run_master $cmd $i > else >echo "Invalid argument" > fi > {code} > The reasons is that the regex operator =~ doesn't have compatibility with > /bin/sh but works running /bin/bash > $ bash -x bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ > start 1 2 3 4 5 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-13229) Bug compatibility validation to start local-regionservers.sh and local-master-backup.sh
[ https://issues.apache.org/jira/browse/HBASE-13229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14360774#comment-14360774 ] Gustavo Anatoly commented on HBASE-13229: - Hi, [~apurtell] {quote} ... but it's not a bug technically {quote} I agree, thinking a little better this issue could be an improvement based on compatibility. > Bug compatibility validation to start local-regionservers.sh and > local-master-backup.sh > --- > > Key: HBASE-13229 > URL: https://issues.apache.org/jira/browse/HBASE-13229 > Project: HBase > Issue Type: Bug > Components: scripts >Affects Versions: 0.94.0, 0.98.0, 1.0.0 >Reporter: Gustavo Anatoly >Assignee: Gustavo Anatoly >Priority: Minor > Labels: beginner > Attachments: HBASE-13229.patch > > > Running the following line, using /bin/sh: > $ bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ start 1 2 > 3 4 5 > Produces the output below: > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > Considering: > {code} > if [[ "$i" =~ ^[0-9]+$ ]]; then >run_master $cmd $i > else >echo "Invalid argument" > fi > {code} > The reasons is that the regex operator =~ doesn't have compatibility with > /bin/sh but works running /bin/bash > $ bash -x bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ > start 1 2 3 4 5 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-13229) Bug compatibility validation to start local-regionservers.sh and local-master-backup.sh
[ https://issues.apache.org/jira/browse/HBASE-13229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14360754#comment-14360754 ] Gustavo Anatoly commented on HBASE-13229: - Hi, [~apurtell] {quote} ... but it's not a bug technically {quote} I agree, thinking a little better this issue could be an improvement based on compatibility. > Bug compatibility validation to start local-regionservers.sh and > local-master-backup.sh > --- > > Key: HBASE-13229 > URL: https://issues.apache.org/jira/browse/HBASE-13229 > Project: HBase > Issue Type: Bug > Components: scripts >Affects Versions: 0.94.0, 0.98.0, 1.0.0 >Reporter: Gustavo Anatoly >Assignee: Gustavo Anatoly >Priority: Minor > Labels: beginner > Attachments: HBASE-13229.patch > > > Running the following line, using /bin/sh: > $ bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ start 1 2 > 3 4 5 > Produces the output below: > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > Considering: > {code} > if [[ "$i" =~ ^[0-9]+$ ]]; then >run_master $cmd $i > else >echo "Invalid argument" > fi > {code} > The reasons is that the regex operator =~ doesn't have compatibility with > /bin/sh but works running /bin/bash > $ bash -x bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ > start 1 2 3 4 5 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-13229) Bug compatibility validation to start local-regionservers.sh and local-master-backup.sh
[ https://issues.apache.org/jira/browse/HBASE-13229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14360762#comment-14360762 ] Gustavo Anatoly commented on HBASE-13229: - Hi, [~apurtell] {quote} ... but it's not a bug technically {quote} I agree, thinking a little better this issue could be an improvement based on compatibility. > Bug compatibility validation to start local-regionservers.sh and > local-master-backup.sh > --- > > Key: HBASE-13229 > URL: https://issues.apache.org/jira/browse/HBASE-13229 > Project: HBase > Issue Type: Bug > Components: scripts >Affects Versions: 0.94.0, 0.98.0, 1.0.0 >Reporter: Gustavo Anatoly >Assignee: Gustavo Anatoly >Priority: Minor > Labels: beginner > Attachments: HBASE-13229.patch > > > Running the following line, using /bin/sh: > $ bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ start 1 2 > 3 4 5 > Produces the output below: > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > Considering: > {code} > if [[ "$i" =~ ^[0-9]+$ ]]; then >run_master $cmd $i > else >echo "Invalid argument" > fi > {code} > The reasons is that the regex operator =~ doesn't have compatibility with > /bin/sh but works running /bin/bash > $ bash -x bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ > start 1 2 3 4 5 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-13229) Bug compatibility validation to start local-regionservers.sh and local-master-backup.sh
[ https://issues.apache.org/jira/browse/HBASE-13229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14360760#comment-14360760 ] Gustavo Anatoly commented on HBASE-13229: - Hi, [~apurtell] {quote} ... but it's not a bug technically {quote} I agree, thinking a little better this issue could be an improvement based on compatibility. > Bug compatibility validation to start local-regionservers.sh and > local-master-backup.sh > --- > > Key: HBASE-13229 > URL: https://issues.apache.org/jira/browse/HBASE-13229 > Project: HBase > Issue Type: Bug > Components: scripts >Affects Versions: 0.94.0, 0.98.0, 1.0.0 >Reporter: Gustavo Anatoly >Assignee: Gustavo Anatoly >Priority: Minor > Labels: beginner > Attachments: HBASE-13229.patch > > > Running the following line, using /bin/sh: > $ bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ start 1 2 > 3 4 5 > Produces the output below: > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > Considering: > {code} > if [[ "$i" =~ ^[0-9]+$ ]]; then >run_master $cmd $i > else >echo "Invalid argument" > fi > {code} > The reasons is that the regex operator =~ doesn't have compatibility with > /bin/sh but works running /bin/bash > $ bash -x bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ > start 1 2 3 4 5 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-13229) Bug compatibility validation to start local-regionservers.sh and local-master-backup.sh
[ https://issues.apache.org/jira/browse/HBASE-13229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14360764#comment-14360764 ] Gustavo Anatoly commented on HBASE-13229: - Hi, [~apurtell] {quote} ... but it's not a bug technically {quote} I agree, thinking a little better this issue could be an improvement based on compatibility. > Bug compatibility validation to start local-regionservers.sh and > local-master-backup.sh > --- > > Key: HBASE-13229 > URL: https://issues.apache.org/jira/browse/HBASE-13229 > Project: HBase > Issue Type: Bug > Components: scripts >Affects Versions: 0.94.0, 0.98.0, 1.0.0 >Reporter: Gustavo Anatoly >Assignee: Gustavo Anatoly >Priority: Minor > Labels: beginner > Attachments: HBASE-13229.patch > > > Running the following line, using /bin/sh: > $ bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ start 1 2 > 3 4 5 > Produces the output below: > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > Considering: > {code} > if [[ "$i" =~ ^[0-9]+$ ]]; then >run_master $cmd $i > else >echo "Invalid argument" > fi > {code} > The reasons is that the regex operator =~ doesn't have compatibility with > /bin/sh but works running /bin/bash > $ bash -x bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ > start 1 2 3 4 5 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-13229) Bug compatibility validation to start local-regionservers.sh and local-master-backup.sh
[ https://issues.apache.org/jira/browse/HBASE-13229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14360752#comment-14360752 ] Gustavo Anatoly commented on HBASE-13229: - Hi, [~apurtell] {quote} ... but it's not a bug technically {quote} I agree, thinking a little better this issue could be an improvement based on compatibility. > Bug compatibility validation to start local-regionservers.sh and > local-master-backup.sh > --- > > Key: HBASE-13229 > URL: https://issues.apache.org/jira/browse/HBASE-13229 > Project: HBase > Issue Type: Bug > Components: scripts >Affects Versions: 0.94.0, 0.98.0, 1.0.0 >Reporter: Gustavo Anatoly >Assignee: Gustavo Anatoly >Priority: Minor > Labels: beginner > Attachments: HBASE-13229.patch > > > Running the following line, using /bin/sh: > $ bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ start 1 2 > 3 4 5 > Produces the output below: > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > Considering: > {code} > if [[ "$i" =~ ^[0-9]+$ ]]; then >run_master $cmd $i > else >echo "Invalid argument" > fi > {code} > The reasons is that the regex operator =~ doesn't have compatibility with > /bin/sh but works running /bin/bash > $ bash -x bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ > start 1 2 3 4 5 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-13229) Bug compatibility validation to start local-regionservers.sh and local-master-backup.sh
[ https://issues.apache.org/jira/browse/HBASE-13229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14360765#comment-14360765 ] Gustavo Anatoly commented on HBASE-13229: - Hi, [~apurtell] {quote} ... but it's not a bug technically {quote} I agree, thinking a little better this issue could be an improvement based on compatibility. > Bug compatibility validation to start local-regionservers.sh and > local-master-backup.sh > --- > > Key: HBASE-13229 > URL: https://issues.apache.org/jira/browse/HBASE-13229 > Project: HBase > Issue Type: Bug > Components: scripts >Affects Versions: 0.94.0, 0.98.0, 1.0.0 >Reporter: Gustavo Anatoly >Assignee: Gustavo Anatoly >Priority: Minor > Labels: beginner > Attachments: HBASE-13229.patch > > > Running the following line, using /bin/sh: > $ bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ start 1 2 > 3 4 5 > Produces the output below: > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > Considering: > {code} > if [[ "$i" =~ ^[0-9]+$ ]]; then >run_master $cmd $i > else >echo "Invalid argument" > fi > {code} > The reasons is that the regex operator =~ doesn't have compatibility with > /bin/sh but works running /bin/bash > $ bash -x bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ > start 1 2 3 4 5 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-13229) Bug compatibility validation to start local-regionservers.sh and local-master-backup.sh
[ https://issues.apache.org/jira/browse/HBASE-13229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14360769#comment-14360769 ] Gustavo Anatoly commented on HBASE-13229: - Hi, [~apurtell] {quote} ... but it's not a bug technically {quote} I agree, thinking a little better this issue could be an improvement based on compatibility. > Bug compatibility validation to start local-regionservers.sh and > local-master-backup.sh > --- > > Key: HBASE-13229 > URL: https://issues.apache.org/jira/browse/HBASE-13229 > Project: HBase > Issue Type: Bug > Components: scripts >Affects Versions: 0.94.0, 0.98.0, 1.0.0 >Reporter: Gustavo Anatoly >Assignee: Gustavo Anatoly >Priority: Minor > Labels: beginner > Attachments: HBASE-13229.patch > > > Running the following line, using /bin/sh: > $ bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ start 1 2 > 3 4 5 > Produces the output below: > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > Considering: > {code} > if [[ "$i" =~ ^[0-9]+$ ]]; then >run_master $cmd $i > else >echo "Invalid argument" > fi > {code} > The reasons is that the regex operator =~ doesn't have compatibility with > /bin/sh but works running /bin/bash > $ bash -x bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ > start 1 2 3 4 5 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-13229) Bug compatibility validation to start local-regionservers.sh and local-master-backup.sh
[ https://issues.apache.org/jira/browse/HBASE-13229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14360775#comment-14360775 ] Gustavo Anatoly commented on HBASE-13229: - Hi, [~apurtell] {quote} ... but it's not a bug technically {quote} I agree, thinking a little better this issue could be an improvement based on compatibility. > Bug compatibility validation to start local-regionservers.sh and > local-master-backup.sh > --- > > Key: HBASE-13229 > URL: https://issues.apache.org/jira/browse/HBASE-13229 > Project: HBase > Issue Type: Bug > Components: scripts >Affects Versions: 0.94.0, 0.98.0, 1.0.0 >Reporter: Gustavo Anatoly >Assignee: Gustavo Anatoly >Priority: Minor > Labels: beginner > Attachments: HBASE-13229.patch > > > Running the following line, using /bin/sh: > $ bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ start 1 2 > 3 4 5 > Produces the output below: > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > Considering: > {code} > if [[ "$i" =~ ^[0-9]+$ ]]; then >run_master $cmd $i > else >echo "Invalid argument" > fi > {code} > The reasons is that the regex operator =~ doesn't have compatibility with > /bin/sh but works running /bin/bash > $ bash -x bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ > start 1 2 3 4 5 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-13229) Bug compatibility validation to start local-regionservers.sh and local-master-backup.sh
[ https://issues.apache.org/jira/browse/HBASE-13229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14360779#comment-14360779 ] Gustavo Anatoly commented on HBASE-13229: - Hi, [~apurtell] {quote} ... but it's not a bug technically {quote} I agree, thinking a little better this issue could be an improvement based on compatibility. > Bug compatibility validation to start local-regionservers.sh and > local-master-backup.sh > --- > > Key: HBASE-13229 > URL: https://issues.apache.org/jira/browse/HBASE-13229 > Project: HBase > Issue Type: Bug > Components: scripts >Affects Versions: 0.94.0, 0.98.0, 1.0.0 >Reporter: Gustavo Anatoly >Assignee: Gustavo Anatoly >Priority: Minor > Labels: beginner > Attachments: HBASE-13229.patch > > > Running the following line, using /bin/sh: > $ bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ start 1 2 > 3 4 5 > Produces the output below: > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > Considering: > {code} > if [[ "$i" =~ ^[0-9]+$ ]]; then >run_master $cmd $i > else >echo "Invalid argument" > fi > {code} > The reasons is that the regex operator =~ doesn't have compatibility with > /bin/sh but works running /bin/bash > $ bash -x bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ > start 1 2 3 4 5 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-13229) Bug compatibility validation to start local-regionservers.sh and local-master-backup.sh
[ https://issues.apache.org/jira/browse/HBASE-13229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14360771#comment-14360771 ] Gustavo Anatoly commented on HBASE-13229: - Hi, [~apurtell] {quote} ... but it's not a bug technically {quote} I agree, thinking a little better this issue could be an improvement based on compatibility. > Bug compatibility validation to start local-regionservers.sh and > local-master-backup.sh > --- > > Key: HBASE-13229 > URL: https://issues.apache.org/jira/browse/HBASE-13229 > Project: HBase > Issue Type: Bug > Components: scripts >Affects Versions: 0.94.0, 0.98.0, 1.0.0 >Reporter: Gustavo Anatoly >Assignee: Gustavo Anatoly >Priority: Minor > Labels: beginner > Attachments: HBASE-13229.patch > > > Running the following line, using /bin/sh: > $ bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ start 1 2 > 3 4 5 > Produces the output below: > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > Considering: > {code} > if [[ "$i" =~ ^[0-9]+$ ]]; then >run_master $cmd $i > else >echo "Invalid argument" > fi > {code} > The reasons is that the regex operator =~ doesn't have compatibility with > /bin/sh but works running /bin/bash > $ bash -x bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ > start 1 2 3 4 5 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-13229) Bug compatibility validation to start local-regionservers.sh and local-master-backup.sh
[ https://issues.apache.org/jira/browse/HBASE-13229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14360777#comment-14360777 ] Gustavo Anatoly commented on HBASE-13229: - Hi, [~apurtell] {quote} ... but it's not a bug technically {quote} I agree, thinking a little better this issue could be an improvement based on compatibility. > Bug compatibility validation to start local-regionservers.sh and > local-master-backup.sh > --- > > Key: HBASE-13229 > URL: https://issues.apache.org/jira/browse/HBASE-13229 > Project: HBase > Issue Type: Bug > Components: scripts >Affects Versions: 0.94.0, 0.98.0, 1.0.0 >Reporter: Gustavo Anatoly >Assignee: Gustavo Anatoly >Priority: Minor > Labels: beginner > Attachments: HBASE-13229.patch > > > Running the following line, using /bin/sh: > $ bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ start 1 2 > 3 4 5 > Produces the output below: > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > Considering: > {code} > if [[ "$i" =~ ^[0-9]+$ ]]; then >run_master $cmd $i > else >echo "Invalid argument" > fi > {code} > The reasons is that the regex operator =~ doesn't have compatibility with > /bin/sh but works running /bin/bash > $ bash -x bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ > start 1 2 3 4 5 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-13229) Bug compatibility validation to start local-regionservers.sh and local-master-backup.sh
[ https://issues.apache.org/jira/browse/HBASE-13229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14360763#comment-14360763 ] Gustavo Anatoly commented on HBASE-13229: - Hi, [~apurtell] {quote} ... but it's not a bug technically {quote} I agree, thinking a little better this issue could be an improvement based on compatibility. > Bug compatibility validation to start local-regionservers.sh and > local-master-backup.sh > --- > > Key: HBASE-13229 > URL: https://issues.apache.org/jira/browse/HBASE-13229 > Project: HBase > Issue Type: Bug > Components: scripts >Affects Versions: 0.94.0, 0.98.0, 1.0.0 >Reporter: Gustavo Anatoly >Assignee: Gustavo Anatoly >Priority: Minor > Labels: beginner > Attachments: HBASE-13229.patch > > > Running the following line, using /bin/sh: > $ bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ start 1 2 > 3 4 5 > Produces the output below: > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > Considering: > {code} > if [[ "$i" =~ ^[0-9]+$ ]]; then >run_master $cmd $i > else >echo "Invalid argument" > fi > {code} > The reasons is that the regex operator =~ doesn't have compatibility with > /bin/sh but works running /bin/bash > $ bash -x bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ > start 1 2 3 4 5 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-13229) Bug compatibility validation to start local-regionservers.sh and local-master-backup.sh
[ https://issues.apache.org/jira/browse/HBASE-13229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14360767#comment-14360767 ] Gustavo Anatoly commented on HBASE-13229: - Hi, [~apurtell] {quote} ... but it's not a bug technically {quote} I agree, thinking a little better this issue could be an improvement based on compatibility. > Bug compatibility validation to start local-regionservers.sh and > local-master-backup.sh > --- > > Key: HBASE-13229 > URL: https://issues.apache.org/jira/browse/HBASE-13229 > Project: HBase > Issue Type: Bug > Components: scripts >Affects Versions: 0.94.0, 0.98.0, 1.0.0 >Reporter: Gustavo Anatoly >Assignee: Gustavo Anatoly >Priority: Minor > Labels: beginner > Attachments: HBASE-13229.patch > > > Running the following line, using /bin/sh: > $ bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ start 1 2 > 3 4 5 > Produces the output below: > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > Considering: > {code} > if [[ "$i" =~ ^[0-9]+$ ]]; then >run_master $cmd $i > else >echo "Invalid argument" > fi > {code} > The reasons is that the regex operator =~ doesn't have compatibility with > /bin/sh but works running /bin/bash > $ bash -x bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ > start 1 2 3 4 5 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-13229) Bug compatibility validation to start local-regionservers.sh and local-master-backup.sh
[ https://issues.apache.org/jira/browse/HBASE-13229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14360773#comment-14360773 ] Gustavo Anatoly commented on HBASE-13229: - Hi, [~apurtell] {quote} ... but it's not a bug technically {quote} I agree, thinking a little better this issue could be an improvement based on compatibility. > Bug compatibility validation to start local-regionservers.sh and > local-master-backup.sh > --- > > Key: HBASE-13229 > URL: https://issues.apache.org/jira/browse/HBASE-13229 > Project: HBase > Issue Type: Bug > Components: scripts >Affects Versions: 0.94.0, 0.98.0, 1.0.0 >Reporter: Gustavo Anatoly >Assignee: Gustavo Anatoly >Priority: Minor > Labels: beginner > Attachments: HBASE-13229.patch > > > Running the following line, using /bin/sh: > $ bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ start 1 2 > 3 4 5 > Produces the output below: > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > Considering: > {code} > if [[ "$i" =~ ^[0-9]+$ ]]; then >run_master $cmd $i > else >echo "Invalid argument" > fi > {code} > The reasons is that the regex operator =~ doesn't have compatibility with > /bin/sh but works running /bin/bash > $ bash -x bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ > start 1 2 3 4 5 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-13229) Bug compatibility validation to start local-regionservers.sh and local-master-backup.sh
[ https://issues.apache.org/jira/browse/HBASE-13229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14360761#comment-14360761 ] Gustavo Anatoly commented on HBASE-13229: - Hi, [~apurtell] {quote} ... but it's not a bug technically {quote} I agree, thinking a little better this issue could be an improvement based on compatibility. > Bug compatibility validation to start local-regionservers.sh and > local-master-backup.sh > --- > > Key: HBASE-13229 > URL: https://issues.apache.org/jira/browse/HBASE-13229 > Project: HBase > Issue Type: Bug > Components: scripts >Affects Versions: 0.94.0, 0.98.0, 1.0.0 >Reporter: Gustavo Anatoly >Assignee: Gustavo Anatoly >Priority: Minor > Labels: beginner > Attachments: HBASE-13229.patch > > > Running the following line, using /bin/sh: > $ bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ start 1 2 > 3 4 5 > Produces the output below: > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > Considering: > {code} > if [[ "$i" =~ ^[0-9]+$ ]]; then >run_master $cmd $i > else >echo "Invalid argument" > fi > {code} > The reasons is that the regex operator =~ doesn't have compatibility with > /bin/sh but works running /bin/bash > $ bash -x bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ > start 1 2 3 4 5 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-13229) Bug compatibility validation to start local-regionservers.sh and local-master-backup.sh
[ https://issues.apache.org/jira/browse/HBASE-13229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14360753#comment-14360753 ] Gustavo Anatoly commented on HBASE-13229: - Hi, [~apurtell] {quote} ... but it's not a bug technically {quote} I agree, thinking a little better this issue could be an improvement based on compatibility. > Bug compatibility validation to start local-regionservers.sh and > local-master-backup.sh > --- > > Key: HBASE-13229 > URL: https://issues.apache.org/jira/browse/HBASE-13229 > Project: HBase > Issue Type: Bug > Components: scripts >Affects Versions: 0.94.0, 0.98.0, 1.0.0 >Reporter: Gustavo Anatoly >Assignee: Gustavo Anatoly >Priority: Minor > Labels: beginner > Attachments: HBASE-13229.patch > > > Running the following line, using /bin/sh: > $ bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ start 1 2 > 3 4 5 > Produces the output below: > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > Considering: > {code} > if [[ "$i" =~ ^[0-9]+$ ]]; then >run_master $cmd $i > else >echo "Invalid argument" > fi > {code} > The reasons is that the regex operator =~ doesn't have compatibility with > /bin/sh but works running /bin/bash > $ bash -x bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ > start 1 2 3 4 5 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-13229) Bug compatibility validation to start local-regionservers.sh and local-master-backup.sh
[ https://issues.apache.org/jira/browse/HBASE-13229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14360757#comment-14360757 ] Gustavo Anatoly commented on HBASE-13229: - Hi, [~apurtell] {quote} ... but it's not a bug technically {quote} I agree, thinking a little better this issue could be an improvement based on compatibility. > Bug compatibility validation to start local-regionservers.sh and > local-master-backup.sh > --- > > Key: HBASE-13229 > URL: https://issues.apache.org/jira/browse/HBASE-13229 > Project: HBase > Issue Type: Bug > Components: scripts >Affects Versions: 0.94.0, 0.98.0, 1.0.0 >Reporter: Gustavo Anatoly >Assignee: Gustavo Anatoly >Priority: Minor > Labels: beginner > Attachments: HBASE-13229.patch > > > Running the following line, using /bin/sh: > $ bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ start 1 2 > 3 4 5 > Produces the output below: > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > Considering: > {code} > if [[ "$i" =~ ^[0-9]+$ ]]; then >run_master $cmd $i > else >echo "Invalid argument" > fi > {code} > The reasons is that the regex operator =~ doesn't have compatibility with > /bin/sh but works running /bin/bash > $ bash -x bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ > start 1 2 3 4 5 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-13229) Bug compatibility validation to start local-regionservers.sh and local-master-backup.sh
[ https://issues.apache.org/jira/browse/HBASE-13229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14360755#comment-14360755 ] Gustavo Anatoly commented on HBASE-13229: - Hi, [~apurtell] {quote} ... but it's not a bug technically {quote} I agree, thinking a little better this issue could be an improvement based on compatibility. > Bug compatibility validation to start local-regionservers.sh and > local-master-backup.sh > --- > > Key: HBASE-13229 > URL: https://issues.apache.org/jira/browse/HBASE-13229 > Project: HBase > Issue Type: Bug > Components: scripts >Affects Versions: 0.94.0, 0.98.0, 1.0.0 >Reporter: Gustavo Anatoly >Assignee: Gustavo Anatoly >Priority: Minor > Labels: beginner > Attachments: HBASE-13229.patch > > > Running the following line, using /bin/sh: > $ bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ start 1 2 > 3 4 5 > Produces the output below: > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > Considering: > {code} > if [[ "$i" =~ ^[0-9]+$ ]]; then >run_master $cmd $i > else >echo "Invalid argument" > fi > {code} > The reasons is that the regex operator =~ doesn't have compatibility with > /bin/sh but works running /bin/bash > $ bash -x bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ > start 1 2 3 4 5 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-13229) Bug compatibility validation to start local-regionservers.sh and local-master-backup.sh
[ https://issues.apache.org/jira/browse/HBASE-13229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14360759#comment-14360759 ] Gustavo Anatoly commented on HBASE-13229: - Hi, [~apurtell] {quote} ... but it's not a bug technically {quote} I agree, thinking a little better this issue could be an improvement based on compatibility. > Bug compatibility validation to start local-regionservers.sh and > local-master-backup.sh > --- > > Key: HBASE-13229 > URL: https://issues.apache.org/jira/browse/HBASE-13229 > Project: HBase > Issue Type: Bug > Components: scripts >Affects Versions: 0.94.0, 0.98.0, 1.0.0 >Reporter: Gustavo Anatoly >Assignee: Gustavo Anatoly >Priority: Minor > Labels: beginner > Attachments: HBASE-13229.patch > > > Running the following line, using /bin/sh: > $ bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ start 1 2 > 3 4 5 > Produces the output below: > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > Considering: > {code} > if [[ "$i" =~ ^[0-9]+$ ]]; then >run_master $cmd $i > else >echo "Invalid argument" > fi > {code} > The reasons is that the regex operator =~ doesn't have compatibility with > /bin/sh but works running /bin/bash > $ bash -x bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ > start 1 2 3 4 5 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-13229) Bug compatibility validation to start local-regionservers.sh and local-master-backup.sh
[ https://issues.apache.org/jira/browse/HBASE-13229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14360748#comment-14360748 ] Gustavo Anatoly commented on HBASE-13229: - Hi, [~busbey] I don't have specific need and I'm working with bash on Ubuntu. > Bug compatibility validation to start local-regionservers.sh and > local-master-backup.sh > --- > > Key: HBASE-13229 > URL: https://issues.apache.org/jira/browse/HBASE-13229 > Project: HBase > Issue Type: Bug > Components: scripts >Affects Versions: 0.94.0, 0.98.0, 1.0.0 >Reporter: Gustavo Anatoly >Assignee: Gustavo Anatoly >Priority: Minor > Labels: beginner > Attachments: HBASE-13229.patch > > > Running the following line, using /bin/sh: > $ bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ start 1 2 > 3 4 5 > Produces the output below: > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > Considering: > {code} > if [[ "$i" =~ ^[0-9]+$ ]]; then >run_master $cmd $i > else >echo "Invalid argument" > fi > {code} > The reasons is that the regex operator =~ doesn't have compatibility with > /bin/sh but works running /bin/bash > $ bash -x bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ > start 1 2 3 4 5 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-13229) Bug compatibility validation to start local-regionservers.sh and local-master-backup.sh
[ https://issues.apache.org/jira/browse/HBASE-13229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14360738#comment-14360738 ] Sean Busbey commented on HBASE-13229: - the two scripts need to be updated to use bash instead of system shell. I'd like to make a try at a mitigation for [~gustavoanatoly] if it turns out they have a use case that relies on system shell specifically. > Bug compatibility validation to start local-regionservers.sh and > local-master-backup.sh > --- > > Key: HBASE-13229 > URL: https://issues.apache.org/jira/browse/HBASE-13229 > Project: HBase > Issue Type: Bug > Components: scripts >Affects Versions: 0.94.0, 0.98.0, 1.0.0 >Reporter: Gustavo Anatoly >Assignee: Gustavo Anatoly >Priority: Minor > Labels: beginner > Attachments: HBASE-13229.patch > > > Running the following line, using /bin/sh: > $ bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ start 1 2 > 3 4 5 > Produces the output below: > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > Considering: > {code} > if [[ "$i" =~ ^[0-9]+$ ]]; then >run_master $cmd $i > else >echo "Invalid argument" > fi > {code} > The reasons is that the regex operator =~ doesn't have compatibility with > /bin/sh but works running /bin/bash > $ bash -x bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ > start 1 2 3 4 5 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-13229) Bug compatibility validation to start local-regionservers.sh and local-master-backup.sh
[ https://issues.apache.org/jira/browse/HBASE-13229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14360719#comment-14360719 ] Andrew Purtell commented on HBASE-13229: No fix needed if we've 'standardized' on bash, except a doc update in the appropriate place(s) in the online manual to clarify that perhaps, right? > Bug compatibility validation to start local-regionservers.sh and > local-master-backup.sh > --- > > Key: HBASE-13229 > URL: https://issues.apache.org/jira/browse/HBASE-13229 > Project: HBase > Issue Type: Bug > Components: scripts >Affects Versions: 0.94.0, 0.98.0, 1.0.0 >Reporter: Gustavo Anatoly >Assignee: Gustavo Anatoly >Priority: Minor > Labels: beginner > Attachments: HBASE-13229.patch > > > Running the following line, using /bin/sh: > $ bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ start 1 2 > 3 4 5 > Produces the output below: > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > Considering: > {code} > if [[ "$i" =~ ^[0-9]+$ ]]; then >run_master $cmd $i > else >echo "Invalid argument" > fi > {code} > The reasons is that the regex operator =~ doesn't have compatibility with > /bin/sh but works running /bin/bash > $ bash -x bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ > start 1 2 3 4 5 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-13229) Bug compatibility validation to start local-regionservers.sh and local-master-backup.sh
[ https://issues.apache.org/jira/browse/HBASE-13229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14360709#comment-14360709 ] Nick Dimiduk commented on HBASE-13229: -- -- that is, fixed for the time being. > Bug compatibility validation to start local-regionservers.sh and > local-master-backup.sh > --- > > Key: HBASE-13229 > URL: https://issues.apache.org/jira/browse/HBASE-13229 > Project: HBase > Issue Type: Bug > Components: scripts >Affects Versions: 0.94.0, 0.98.0, 1.0.0 >Reporter: Gustavo Anatoly >Assignee: Gustavo Anatoly >Priority: Minor > Labels: beginner > Attachments: HBASE-13229.patch > > > Running the following line, using /bin/sh: > $ bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ start 1 2 > 3 4 5 > Produces the output below: > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > Considering: > {code} > if [[ "$i" =~ ^[0-9]+$ ]]; then >run_master $cmd $i > else >echo "Invalid argument" > fi > {code} > The reasons is that the regex operator =~ doesn't have compatibility with > /bin/sh but works running /bin/bash > $ bash -x bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ > start 1 2 3 4 5 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-13229) Bug compatibility validation to start local-regionservers.sh and local-master-backup.sh
[ https://issues.apache.org/jira/browse/HBASE-13229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14360706#comment-14360706 ] Nick Dimiduk commented on HBASE-13229: -- bq. I think it's a better idea to standardize on bash. +1 bq. I'm curious what HBASE-13231 will propose. Indeed, but this should still be fixed. > Bug compatibility validation to start local-regionservers.sh and > local-master-backup.sh > --- > > Key: HBASE-13229 > URL: https://issues.apache.org/jira/browse/HBASE-13229 > Project: HBase > Issue Type: Bug > Components: scripts >Affects Versions: 0.94.0, 0.98.0, 1.0.0 >Reporter: Gustavo Anatoly >Assignee: Gustavo Anatoly >Priority: Minor > Labels: beginner > Attachments: HBASE-13229.patch > > > Running the following line, using /bin/sh: > $ bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ start 1 2 > 3 4 5 > Produces the output below: > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > Considering: > {code} > if [[ "$i" =~ ^[0-9]+$ ]]; then >run_master $cmd $i > else >echo "Invalid argument" > fi > {code} > The reasons is that the regex operator =~ doesn't have compatibility with > /bin/sh but works running /bin/bash > $ bash -x bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ > start 1 2 3 4 5 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-13229) Bug compatibility validation to start local-regionservers.sh and local-master-backup.sh
[ https://issues.apache.org/jira/browse/HBASE-13229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14360654#comment-14360654 ] Andrew Purtell commented on HBASE-13229: bq. I think it's a better idea to standardize on bash. I'm curious what HBASE-13231 will propose. > Bug compatibility validation to start local-regionservers.sh and > local-master-backup.sh > --- > > Key: HBASE-13229 > URL: https://issues.apache.org/jira/browse/HBASE-13229 > Project: HBase > Issue Type: Bug > Components: scripts >Affects Versions: 0.94.0, 0.98.0, 1.0.0 >Reporter: Gustavo Anatoly >Assignee: Gustavo Anatoly >Priority: Minor > Labels: beginner > Attachments: HBASE-13229.patch > > > Running the following line, using /bin/sh: > $ bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ start 1 2 > 3 4 5 > Produces the output below: > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > Considering: > {code} > if [[ "$i" =~ ^[0-9]+$ ]]; then >run_master $cmd $i > else >echo "Invalid argument" > fi > {code} > The reasons is that the regex operator =~ doesn't have compatibility with > /bin/sh but works running /bin/bash > $ bash -x bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ > start 1 2 3 4 5 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-13229) Bug compatibility validation to start local-regionservers.sh and local-master-backup.sh
[ https://issues.apache.org/jira/browse/HBASE-13229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14360559#comment-14360559 ] Sean Busbey commented on HBASE-13229: - I think it's a better idea to standardize on bash. The reason this didn't come up before is that the system shell _is_ bash on many distros. It happens to be dash on ubuntu, which is stricter on posix. My guess is that's why this falls over there. > Bug compatibility validation to start local-regionservers.sh and > local-master-backup.sh > --- > > Key: HBASE-13229 > URL: https://issues.apache.org/jira/browse/HBASE-13229 > Project: HBase > Issue Type: Bug > Components: scripts >Affects Versions: 0.94.0, 0.98.0, 1.0.0 >Reporter: Gustavo Anatoly >Assignee: Gustavo Anatoly >Priority: Minor > Labels: beginner > Attachments: HBASE-13229.patch > > > Running the following line, using /bin/sh: > $ bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ start 1 2 > 3 4 5 > Produces the output below: > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > Considering: > {code} > if [[ "$i" =~ ^[0-9]+$ ]]; then >run_master $cmd $i > else >echo "Invalid argument" > fi > {code} > The reasons is that the regex operator =~ doesn't have compatibility with > /bin/sh but works running /bin/bash > $ bash -x bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ > start 1 2 3 4 5 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-13229) Bug compatibility validation to start local-regionservers.sh and local-master-backup.sh
[ https://issues.apache.org/jira/browse/HBASE-13229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14360563#comment-14360563 ] Sean Busbey commented on HBASE-13229: - (I realized my earlier comment is a little ambigious. The two scripts that use the system shell were introduced in HBASE-1511, not the regex changes.) > Bug compatibility validation to start local-regionservers.sh and > local-master-backup.sh > --- > > Key: HBASE-13229 > URL: https://issues.apache.org/jira/browse/HBASE-13229 > Project: HBase > Issue Type: Bug > Components: scripts >Affects Versions: 0.94.0, 0.98.0, 1.0.0 >Reporter: Gustavo Anatoly >Assignee: Gustavo Anatoly >Priority: Minor > Labels: beginner > Attachments: HBASE-13229.patch > > > Running the following line, using /bin/sh: > $ bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ start 1 2 > 3 4 5 > Produces the output below: > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > Considering: > {code} > if [[ "$i" =~ ^[0-9]+$ ]]; then >run_master $cmd $i > else >echo "Invalid argument" > fi > {code} > The reasons is that the regex operator =~ doesn't have compatibility with > /bin/sh but works running /bin/bash > $ bash -x bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ > start 1 2 3 4 5 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-13229) Bug compatibility validation to start local-regionservers.sh and local-master-backup.sh
[ https://issues.apache.org/jira/browse/HBASE-13229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14360550#comment-14360550 ] Andrew Purtell commented on HBASE-13229: The reason I committed this change is I found the '[[' bash-ism in other scripts of ours already. > Bug compatibility validation to start local-regionservers.sh and > local-master-backup.sh > --- > > Key: HBASE-13229 > URL: https://issues.apache.org/jira/browse/HBASE-13229 > Project: HBase > Issue Type: Bug > Components: scripts >Affects Versions: 0.94.0, 0.98.0, 1.0.0 >Reporter: Gustavo Anatoly >Assignee: Gustavo Anatoly >Priority: Minor > Labels: beginner > Attachments: HBASE-13229.patch > > > Running the following line, using /bin/sh: > $ bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ start 1 2 > 3 4 5 > Produces the output below: > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > Considering: > {code} > if [[ "$i" =~ ^[0-9]+$ ]]; then >run_master $cmd $i > else >echo "Invalid argument" > fi > {code} > The reasons is that the regex operator =~ doesn't have compatibility with > /bin/sh but works running /bin/bash > $ bash -x bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ > start 1 2 3 4 5 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-13229) Bug compatibility validation to start local-regionservers.sh and local-master-backup.sh
[ https://issues.apache.org/jira/browse/HBASE-13229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14360482#comment-14360482 ] Sean Busbey commented on HBASE-13229: - Here's our current break down amongst the .sh lot: {code} hbase busbey$ ls -1 bin/*.sh | wc -l 15 hbase busbey$ head -n 1 bin/*.sh | grep "[ /]bash" | wc -l 11 hbase busbey$ head -n 1 bin/*.sh | grep "[ /]sh" | wc -l 2 {code} The remaining two are {{hbase-common.sh}} and {{hbase-config.sh}}, which aren't meant to be directly invoked. These got introduced in HBASE-1511, and I don't see any discussion about the different shell. I'd like to just update the local-*.sh files to also use bash. Would that work for you [~gustavoanatoly]? Or do you have a specific need to make use of the system shell? (what shell is sh pointing at? are you on ubuntu?) > Bug compatibility validation to start local-regionservers.sh and > local-master-backup.sh > --- > > Key: HBASE-13229 > URL: https://issues.apache.org/jira/browse/HBASE-13229 > Project: HBase > Issue Type: Bug > Components: scripts >Reporter: Gustavo Anatoly >Assignee: Gustavo Anatoly >Priority: Minor > Labels: beginner > Attachments: HBASE-13229.patch > > > Running the following line, using /bin/sh: > $ bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ start 1 2 > 3 4 5 > Produces the output below: > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > Considering: > {code} > if [[ "$i" =~ ^[0-9]+$ ]]; then >run_master $cmd $i > else >echo "Invalid argument" > fi > {code} > The reasons is that the regex operator =~ doesn't have compatibility with > /bin/sh but works running /bin/bash > $ bash -x bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ > start 1 2 3 4 5 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-13229) Bug compatibility validation to start local-regionservers.sh and local-master-backup.sh
[ https://issues.apache.org/jira/browse/HBASE-13229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14360455#comment-14360455 ] Sean Busbey commented on HBASE-13229: - I thought we used bash for all of our scripting. let me check a few things. > Bug compatibility validation to start local-regionservers.sh and > local-master-backup.sh > --- > > Key: HBASE-13229 > URL: https://issues.apache.org/jira/browse/HBASE-13229 > Project: HBase > Issue Type: Bug > Components: scripts >Reporter: Gustavo Anatoly >Assignee: Gustavo Anatoly >Priority: Minor > Attachments: HBASE-13229.patch > > > Running the following line, using /bin/sh: > $ bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ start 1 2 > 3 4 5 > Produces the output below: > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > bin/local-regionservers.sh: 55: bin/local-regionservers.sh: [[: not found > Invalid argument > Considering: > {code} > if [[ "$i" =~ ^[0-9]+$ ]]; then >run_master $cmd $i > else >echo "Invalid argument" > fi > {code} > The reasons is that the regex operator =~ doesn't have compatibility with > /bin/sh but works running /bin/bash > $ bash -x bin/local-regionservers.sh --config ~/hbase-dev/hbase-conf/conf/ > start 1 2 3 4 5 -- This message was sent by Atlassian JIRA (v6.3.4#6332)