Kengo Seki created AIRFLOW-142:
----------------------------------

             Summary: setup_env.sh doesn't download hive tarball if hdp is 
specified as distro
                 Key: AIRFLOW-142
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-142
             Project: Apache Airflow
          Issue Type: Bug
          Components: tests
            Reporter: Kengo Seki
            Priority: Minor


I tried the following command:

{code}
sekikn@ubuntu-trusty:~/incubator-airflow$ env TRAVIS_CACHE=/tmp/cache 
scripts/ci/setup_env.sh
{code}

... and downloading hive failed as follows:

{code}
echo "Downloading and unpacking hive"
Downloading and unpacking hive
curl -z ${TRAVIS_CACHE}/hive/hive.tar.gz -o ${TRAVIS_CACHE}/hive/hive.tar.gz -L 
${HIVE_URL}
Warning: Illegal date format for -z, --timecond (and not a file name). 
Warning: Disabling time condition. See curl_getdate(3) for valid date syntax.
curl: no URL specified!
curl: try 'curl --help' or 'curl --manual' for more information
tar zxf ${TRAVIS_CACHE}/hive/hive.tar.gz --strip-components 1 -C ${HIVE_HOME}
tar (child): /tmp/cache/hive/hive.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to