You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by GitBox <gi...@apache.org> on 2019/05/16 17:50:13 UTC
[GitHub] [hbase] taklwu commented on issue #243: HBASE-22429 hbase-vote
download step requires URL to end with '/'
taklwu commented on issue #243: HBASE-22429 hbase-vote download step requires URL to end with '/'
URL: https://github.com/apache/hbase/pull/243#issuecomment-493167683
Tested as below
* shellcheck passed
```
$ shellcheck dev-support/hbase-vote.sh
$ echo $?
0
```
* RC download worked with and without trailing slash
```
# with trailing slash
$ bash ~/workspace-tmp/hbase/dev-support/hbase-vote.sh -s https://dist.apache.org/repos/dist/dev/hbase/hbase-1.4.10RC0/
# w/o trailing slash
$ bash ~/workspace-tmp/hbase/dev-support/hbase-vote.sh -s https://dist.apache.org/repos/dist/dev/hbase/2.0.5RC0
# list the current output/working directory only has root level downloaded path with rc version name
$ ls -l
total 3892
drwxr-xr-x 2 wutaklon amazon 4096 May 16 17:45 2.0.5RC0
...
drwxr-xr-x 3 wutaklon amazon 4096 May 16 17:31 hbase-1.4.10RC0
# double check the downloaded files
$ ls -l hbase-1.4.10RC0
total 122964
-rw-r--r-- 1 wutaklon amazon 105011 Apr 30 20:19 compact-check-report.html
drwxr-xr-x 32 wutaklon amazon 4096 May 16 17:32 hbase-1.4.10
-rw-r--r-- 1 wutaklon amazon 113352254 May 4 00:59 hbase-1.4.10-bin.tar.gz
-rw-r--r-- 1 wutaklon amazon 833 May 4 00:59 hbase-1.4.10-bin.tar.gz.asc
-rw-r--r-- 1 wutaklon amazon 219 May 4 00:59 hbase-1.4.10-bin.tar.gz.sha512
-rw-r--r-- 1 wutaklon amazon 12424855 Apr 30 20:19 hbase-1.4.10-src.tar.gz
-rw-r--r-- 1 wutaklon amazon 833 May 4 00:59 hbase-1.4.10-src.tar.gz.asc
-rw-r--r-- 1 wutaklon amazon 219 Apr 30 20:19 hbase-1.4.10-src.tar.gz.sha512
-rw-r--r-- 1 wutaklon amazon 769 May 4 00:59 index.html
$ ls -l 2.0.5RC0/
total 142844
-rw-r--r-- 1 wutaklon amazon 39288 Mar 25 14:16 api_compare_2.0.5RC0_to_2.0.4.html
-rw-r--r-- 1 wutaklon amazon 917476 Feb 28 11:23 CHANGES.md
drwxr-xr-x 38 wutaklon amazon 4096 May 16 17:49 hbase-2.0.5
-rw-r--r-- 1 wutaklon amazon 132199267 Feb 28 11:23 hbase-2.0.5-bin.tar.gz
-rw-r--r-- 1 wutaklon amazon 819 Feb 28 11:23 hbase-2.0.5-bin.tar.gz.asc
-rw-r--r-- 1 wutaklon amazon 216 Feb 28 11:23 hbase-2.0.5-bin.tar.gz.sha512
-rw-r--r-- 1 wutaklon amazon 12540654 Feb 28 11:23 hbase-2.0.5-src.tar.gz
-rw-r--r-- 1 wutaklon amazon 819 Feb 28 11:23 hbase-2.0.5-src.tar.gz.asc
-rw-r--r-- 1 wutaklon amazon 216 Feb 28 11:23 hbase-2.0.5-src.tar.gz.sha512
-rw-r--r-- 1 wutaklon amazon 865 Mar 25 14:16 index.html
-rw-r--r-- 1 wutaklon amazon 537917 Feb 28 11:23 RELEASENOTES.md
...
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services