heavydb icon indicating copy to clipboard operation
heavydb copied to clipboard

in centos 7, bash deploy.sh is wrong

Open xuxilei opened this issue 9 years ago • 8 comments

it is wrong.

[root@localhost ~]# curl -OJ https://internal-dependencies.mapd.com/mapd-deps/deploy.sh

% Total % Received % Xferd Average Speed Time Time Time Current

                             Dload  Upload   Total   Spent    Left  Speed

100 1768 100 1768 0 0 1050 0 0:00:01 0:00:01 --:--:-- 1049

[root@localhost ~]# sudo bash deploy.sh

........................................

  • FLAG=latest

  • '[' '' == --testing ']'

  • sudo wget --continue https://internal-dependencies.mapd.com/mapd-deps/mapd-deps-latest.tar.xz

--2017-05-22 21:47:56-- https://internal-dependencies.mapd.com/mapd-deps/mapd-deps-latest.tar.xz

Resolving internal-dependencies.mapd.com (internal-dependencies.mapd.com)... failed: Name or service not known.

wget: unable to resolve host address ?.nternal-dependencies.mapd.com?

xuxilei avatar May 23 '17 02:05 xuxilei

Try running it again, there might just be some intermittent issues with your upstream nameserver. You clearly can resolve it since that's the domain the deploy script was downloaded from, but it might be that the second lookup isn't cached locally and your upstream nameserver fails to resolve again.

If it's still an issue, try adding the following line to your /etc/hosts file:

72.28.97.165 internal-dependencies.mapd.com

andrewseidl avatar May 23 '17 02:05 andrewseidl

after edit "72.28.97.165 internal-dependencies.mapd.com" [root@localhost ~]# sudo bash deploy.sh ...................................

  • FLAG=latest

  • '[' '' == --testing ']'

  • sudo wget --continue https://internal-dependencies.mapd.com/mapd-deps/mapd-deps-latest.tar.xz

--2017-05-23 03:17:12-- https://internal-dependencies.mapd.com/mapd-deps/mapd-deps-latest.tar.xz

Resolving internal-dependencies.mapd.com (internal-dependencies.mapd.com)... 72.28.97.165

Connecting to internal-dependencies.mapd.com (internal-dependencies.mapd.com)|72.28.97.165|:443... failed: Network is unreachable.

xuxilei avatar May 23 '17 07:05 xuxilei

the computer throught two proxy to internet

xuxilei avatar May 25 '17 11:05 xuxilei

Hi

i have just tried to download this bundle from an external network and all appears to be working fine.

please review your network configuration, as this appears to be a network issue on your network side.

dwayneberry avatar May 25 '17 16:05 dwayneberry

If you have no luck with getting the pre built dependencies you can build your own by following the details here

https://github.com/mapd/mapd-core#centos-7

And the script here: https://github.com/mapd/mapd-core/blob/master/scripts/mapd-deps-linux.sh

dwayneberry avatar May 25 '17 16:05 dwayneberry

in mapd-deps-linux.sh: "download" refer to ?

xuxilei avatar May 26 '17 02:05 xuxilei

It's a function at the top of the script: https://github.com/mapd/mapd-core/blob/f87d5deddfeda9eb539061bf507c65d6f2151ff7/scripts/mapd-deps-linux.sh#L18-L20

download() {
    wget --continue "$1"
}

Feel free to replace the wget with curl -O if that works better with your proxies.

andrewseidl avatar May 26 '17 04:05 andrewseidl

Closing, as this appeared to be a network issue, not a MapD issue. Please feel free to open another issue if this behavior persists

randyzwitch avatar Sep 13 '18 12:09 randyzwitch