You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "K M (JIRA)" <ji...@apache.org> on 2009/02/03 20:45:59 UTC
[jira] Created: (HBASE-1181) src/saveVersion.sh bails on
non-standard Bourne shells (e.g. dash)
src/saveVersion.sh bails on non-standard Bourne shells (e.g. dash)
------------------------------------------------------------------
Key: HBASE-1181
URL: https://issues.apache.org/jira/browse/HBASE-1181
Project: Hadoop HBase
Issue Type: Bug
Environment: Debian/Ubuntu using dash as /bin/sh
Reporter: K M
Priority: Trivial
Fix For: 0.20.0
src/saveVersion.sh assumes shell understands the extended [[ ]] test construct. Standard Bourne doesn't include this syntax and some system /bin/sh versions are not bash - example is dash used as /bin/sh on Debian/Ubuntu.
Sync with Hadoop core sh/saveVersion.sh to pull in the regular test syntax and other updates ("none" SCM, branch version, et al).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HBASE-1181) src/saveVersion.sh bails on
non-standard Bourne shells (e.g. dash)
Posted by "K M (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-1181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
K M updated HBASE-1181:
-----------------------
Attachment: HBASE-1181.patch
Patch to sync src/saveVersion.sh with core r740386
> src/saveVersion.sh bails on non-standard Bourne shells (e.g. dash)
> ------------------------------------------------------------------
>
> Key: HBASE-1181
> URL: https://issues.apache.org/jira/browse/HBASE-1181
> Project: Hadoop HBase
> Issue Type: Bug
> Environment: Debian/Ubuntu using dash as /bin/sh
> Reporter: K M
> Priority: Trivial
> Fix For: 0.20.0
>
> Attachments: HBASE-1181.patch
>
>
> src/saveVersion.sh assumes shell understands the extended [[ ]] test construct. Standard Bourne doesn't include this syntax and some system /bin/sh versions are not bash - example is dash used as /bin/sh on Debian/Ubuntu.
> Sync with Hadoop core sh/saveVersion.sh to pull in the regular test syntax and other updates ("none" SCM, branch version, et al).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HBASE-1181) src/saveVersion.sh bails on
non-standard Bourne shells (e.g. dash)
Posted by "K M (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-1181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
K M updated HBASE-1181:
-----------------------
Attachment: HBASE-1181-2.patch
Removed the branch from the written file. Apparently not using it.
> src/saveVersion.sh bails on non-standard Bourne shells (e.g. dash)
> ------------------------------------------------------------------
>
> Key: HBASE-1181
> URL: https://issues.apache.org/jira/browse/HBASE-1181
> Project: Hadoop HBase
> Issue Type: Bug
> Environment: Debian/Ubuntu using dash as /bin/sh
> Reporter: K M
> Priority: Trivial
> Fix For: 0.20.0
>
> Attachments: HBASE-1181-2.patch, HBASE-1181.patch
>
>
> src/saveVersion.sh assumes shell understands the extended [[ ]] test construct. Standard Bourne doesn't include this syntax and some system /bin/sh versions are not bash - example is dash used as /bin/sh on Debian/Ubuntu.
> Sync with Hadoop core sh/saveVersion.sh to pull in the regular test syntax and other updates ("none" SCM, branch version, et al).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (HBASE-1181) src/saveVersion.sh bails on
non-standard Bourne shells (e.g. dash)
Posted by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-1181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Daniel Cryans resolved HBASE-1181.
---------------------------------------
Resolution: Fixed
Assignee: K M
Hadoop Flags: [Reviewed]
Committed to trunk, thanks kcm!
> src/saveVersion.sh bails on non-standard Bourne shells (e.g. dash)
> ------------------------------------------------------------------
>
> Key: HBASE-1181
> URL: https://issues.apache.org/jira/browse/HBASE-1181
> Project: Hadoop HBase
> Issue Type: Bug
> Environment: Debian/Ubuntu using dash as /bin/sh
> Reporter: K M
> Assignee: K M
> Priority: Trivial
> Fix For: 0.20.0
>
> Attachments: HBASE-1181-2.patch, HBASE-1181.patch
>
>
> src/saveVersion.sh assumes shell understands the extended [[ ]] test construct. Standard Bourne doesn't include this syntax and some system /bin/sh versions are not bash - example is dash used as /bin/sh on Debian/Ubuntu.
> Sync with Hadoop core sh/saveVersion.sh to pull in the regular test syntax and other updates ("none" SCM, branch version, et al).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HBASE-1181) src/saveVersion.sh bails on
non-standard Bourne shells (e.g. dash)
Posted by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-1181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12670097#action_12670097 ]
Jean-Daniel Cryans commented on HBASE-1181:
-------------------------------------------
This patch gives me :
{code}
[javac] Compiling 274 source files to /home/jdcryans/svn/hbase/trunk-commit/build/classes
[javac] /home/jdcryans/svn/hbase/trunk-commit/build/src/org/apache/hadoop/hbase/package-info.java:4: cannot find symbol
[javac] symbol : method branch()
[javac] location: @interface org.apache.hadoop.hbase.VersionAnnotation
[javac] @VersionAnnotation(version="0.20.0-dev", revision="740265", branch="trunk",
{code}
> src/saveVersion.sh bails on non-standard Bourne shells (e.g. dash)
> ------------------------------------------------------------------
>
> Key: HBASE-1181
> URL: https://issues.apache.org/jira/browse/HBASE-1181
> Project: Hadoop HBase
> Issue Type: Bug
> Environment: Debian/Ubuntu using dash as /bin/sh
> Reporter: K M
> Priority: Trivial
> Fix For: 0.20.0
>
> Attachments: HBASE-1181.patch
>
>
> src/saveVersion.sh assumes shell understands the extended [[ ]] test construct. Standard Bourne doesn't include this syntax and some system /bin/sh versions are not bash - example is dash used as /bin/sh on Debian/Ubuntu.
> Sync with Hadoop core sh/saveVersion.sh to pull in the regular test syntax and other updates ("none" SCM, branch version, et al).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.