hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Daniel Cryans (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-1181) src/saveVersion.sh bails on non-standard Bourne shells (e.g. dash)
Date Tue, 03 Feb 2009 20:21:59 GMT

    [ 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 :

    [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",

> 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.

View raw message