You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org> on 2009/02/03 21:21:59 UTC
[jira] Commented: (HBASE-1181) src/saveVersion.sh bails on
non-standard Bourne shells (e.g. dash)
[ 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.