You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@orc.apache.org by do...@apache.org on 2020/08/10 04:02:48 UTC

[orc] branch branch-1.5 updated: ORC-656: Use gharchive.org instead of githubarchive.org (#532)

This is an automated email from the ASF dual-hosted git repository.

dongjoon pushed a commit to branch branch-1.5
in repository https://gitbox.apache.org/repos/asf/orc.git


The following commit(s) were added to refs/heads/branch-1.5 by this push:
     new 3628ac4  ORC-656: Use gharchive.org instead of githubarchive.org (#532)
3628ac4 is described below

commit 3628ac4fc82d460a3cc2859ff23faab484143496
Author: William Hyun <wi...@gmail.com>
AuthorDate: Sat Aug 8 16:49:53 2020 -0700

    ORC-656: Use gharchive.org instead of githubarchive.org (#532)
    
    This PR aims to use gharchive.org instead of githubarchive.org.
    
    The URL is permanently moved.
    ```
    --2020-08-08 23:14:16--  http://data.githubarchive.org/2015-11-01-1.json.gz
    Connecting to data.githubarchive.org (data.githubarchive.org)|140.82.113.18|:80... connected.
    HTTP request sent, awaiting response... 301 Moved Permanently
    Location: https://data.gharchive.org/2015-11-01-1.json.gz [following]
    --2020-08-08 23:14:16--  https://data.gharchive.org/2015-11-01-1.json.gz
    Connecting to data.gharchive.org (data.gharchive.org)|104.18.54.216|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 4708768 (4.5M) [application/gzip]
    Saving to: '2015-11-01-1.json.gz.1'
    ```
    
    ```
    cd java/bench/
    fetch-data.sh
    ```
    
    (cherry picked from commit 7d4985bd028ff5283c04690477866742cc866f90)
    Signed-off-by: Dongjoon Hyun <do...@apache.org>
---
 java/bench/fetch-data.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/bench/fetch-data.sh b/java/bench/fetch-data.sh
index 129d83f..7692957 100755
--- a/java/bench/fetch-data.sh
+++ b/java/bench/fetch-data.sh
@@ -18,4 +18,4 @@ mkdir -p data/sources/taxi
 (cd data/sources/taxi; wget https://s3.amazonaws.com/nyc-tlc/trip+data/yellow_tripdata_2015-{11,12}.csv)
 (cd data/sources/taxi; gzip *.csv)
 mkdir -p data/sources/github
-(cd data/sources/github; wget http://data.githubarchive.org/2015-11-{01..15}-{0..23}.json.gz)
+(cd data/sources/github; wget http://data.gharchive.org/2015-11-{01..15}-{0..23}.json.gz)