configuration icon indicating copy to clipboard operation
configuration copied to clipboard

Broken link to sqoop

Open llasha opened this issue 7 years ago • 0 comments

edX Insights fails to install because of a broken link to sqoop TASK [sqoop : distribution downloaded] ***************************************** fatal: [localhost]: FAILED! => {"changed": false, "dest": "/var/tmp", "failed": true, "gid": 0, "group": "root", "mode": "01777", "msg": "Request failed", "owner": "root", "response": "HTTP Error 404: Not Found", "size": 4096, "state": "directory", "status_code": 404, "uid": 0, "url": "http://www.apache.org/dist/sqoop/1.4.6/sqoop-1.4.6.bin__hadoop-2.0.4-alpha.tar.gz"} to retry, use: --limit @/home/wwadmin/configuration/playbooks/edx-east/analytics_single.retry

PLAY RECAP ********************************************************************* localhost : ok=140 changed=112 unreachable=0 failed=1

The link is dead: http://www.apache.org/dist/sqoop/1.4.6/sqoop-1.4.6.bin__hadoop-2.0.4-alpha.tar.gz

Instead, Apache Foundation has archived the mentioned version of sqoop at: https://archive.apache.org/dist/sqoop/1.4.6/sqoop-1.4.6.bin__hadoop-2.0.4-alpha.tar.gz

So a quick fix is: /home/your_user/configuration/playbooks/edx-east/roles/sqoop/main.yml Go to line 31: and replace "http://www.apache.org/dist/sqoop/{{ SQOOP_VERSION }}/{{ sqoop_base_filename }}.tar.gz" with "https://archive.apache.org/dist/sqoop/{{ SQOOP_VERSION }}/{{ sqoop_base_filename }}.tar.gz"

llasha avatar Feb 11 '18 15:02 llasha