[ https://issues.apache.org/jira/browse/HBASE-11721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14093739#comment-14093739 ]
Aleksandr Shulman commented on HBASE-11721: ------------------------------------------- Thanks [~misty] for trying out the tool. I am open to suggestions on how to make the usage instructions more clear. Regarding the error you are seeing: Looks like the artifact that this script depends on may have been moved. curl l is returning an html redirect (301) instead of the zip file. Using wget, it looks like there may also be some openssl or certificate issues. Doing a little homework on the matter, it looks like some people have hit this issue with . Will look into this further. {code}wget http://cloud.github.com/downloads/tomwhite/jdiff/jdiff-1.1.1-with-incompatible-option.zip --2014-08-11 21:42:11-- http://cloud.github.com/downloads/tomwhite/jdiff/jdiff-1.1.1-with-incompatible-option.zip Resolving cloud.github.com (cloud.github.com)... 54.230.141.84, 54.230.143.7, 54.230.140.148, ... Connecting to cloud.github.com (cloud.github.com)|54.230.141.84|:80... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: https://cloud.github.com/downloads/tomwhite/jdiff/jdiff-1.1.1-with-incompatible-option.zip [following] --2014-08-11 21:42:11-- https://cloud.github.com/downloads/tomwhite/jdiff/jdiff-1.1.1-with-incompatible-option.zip Connecting to cloud.github.com (cloud.github.com)|54.230.141.84|:443... connected. OpenSSL: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure Unable to establish SSL connection. {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 > > 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)