hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Misty Stanley-Jones (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-11721) jdiff script no longer works as usage instructions indicate
Date Tue, 26 Aug 2014 00:15:00 GMT

    [ https://issues.apache.org/jira/browse/HBASE-11721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14110033#comment-14110033
] 

Misty Stanley-Jones commented on HBASE-11721:
---------------------------------------------

When I try to run it with your patch applied, I get a sed error. Here is the command I'm running:

{code}
$ bash ./dev-support/jdiffHBasePublicAPI.sh https://github.com/apache/hbase.git 0.98.4 https://github.com/apache/hbase.git
0.98.5
{code}

(also, can you please set it to +x?)

And here's the error:
{code}
...
Determining if directory /tmp/jdiff/p-0.98.4/hbase is of the 0.94 and before OR 0.95 and after
versions
First, check that /tmp/jdiff/p-0.98.4/hbase exists
Directory /tmp/jdiff/p-0.98.4/hbase exists
The directory /tmp/jdiff/p-0.98.4/hbase/hbase-server exists so this is of the new format
Determining if directory /tmp/jdiff/c-0.98.5/hbase is of the 0.94 and before OR 0.95 and after
versions
First, check that /tmp/jdiff/c-0.98.5/hbase exists
Directory /tmp/jdiff/c-0.98.5/hbase exists
The directory /tmp/jdiff/c-0.98.5/hbase/hbase-server exists so this is of the new format
Previous format is of the new style. We'll be using template /Users/misty/git/hbase/dev-support/hbase_jdiff_afterSingularityTemplate.xml
Configuring the jdiff script
sed: 1: "/tmp/jdiff/hbase_jdiff_ ...": invalid command code j
{code}

> jdiff script no longer works as usage instructions indicate
> -----------------------------------------------------------
>
>                 Key: HBASE-11721
>                 URL: https://issues.apache.org/jira/browse/HBASE-11721
>             Project: HBase
>          Issue Type: Bug
>          Components: scripts
>            Reporter: Misty Stanley-Jones
>            Assignee: Dima Spivak
>         Attachments: HBASE-11721-v2.patch, HBASE-11721.patch
>
>
> I pasted the command from the usage instructions embedded in the script, but it fails
as follows:
> [misty@cheezel dev-support](master)$ bash ./jdiffHBasePublicAPI.sh https://github.com/apache/hbase.git
0.94 https://github.com/MY_REPO/hbase.git 0.94
> JDiff evaluation beginning:
> Determining if this is a local directory or a git repo.
> Looks like https://github.com/apache/hbase.git is a git repo
> Determining if this is a local directory or a git repo.
> Looks like https://github.com/MY_REPO/hbase.git is a git repo
> We are going to compare source 1 which is a git_repo and source 2, which is a git_repo
> 0.94
> 0.94
> JDIFF_WORKING_DIRECTORY not set. That's not an issue. We will default it to /tmp/jdiff.
>   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
>                                  Dload  Upload   Total   Spent    Left  Speed
> 100   183  100   183    0     0    447      0 --:--:-- --:--:-- --:--:--   448
> Archive:  jdiff-1.1.1-with-incompatible-option.zip
>   End-of-central-directory signature not found.  Either this file is not
>   a zipfile, or it constitutes one disk of a multi-part archive.  In the
>   latter case the central directory and zipfile comment will be found on
>   the last disk(s) of this archive.
> unzip:  cannot find zipfile directory in one of jdiff-1.1.1-with-incompatible-option.zip
or
>         jdiff-1.1.1-with-incompatible-option.zip.zip, and cannot find jdiff-1.1.1-with-incompatible-option.zip.ZIP,
period.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message