oltpbenchmark / oltpbench

Database Benchmarking Framework
http://oltpbenchmark.com/
Other
401 stars 266 forks source link

OLTPBench: ant resolve fails #323

Open arunmarathe opened 4 years ago

arunmarathe commented 4 years ago

I have installed and used OLTPBench in the past successfully, but today I am getting these "ant resolve" issues. My corporate account uses proxy server, but I didn't get this error before.

[arunm2@vm-arunm2 oltpbench]$ ant resolve Buildfile: /mnt/ssd/oltpbench/build.xml

resolve: [ivy:retrieve] :: Apache Ivy 2.5.0 - 20191020104435 :: https://ant.apache.org/ivy/ :: [ivy:retrieve] :: loading settings :: file = /mnt/ssd/oltpbench/ivysettings.xml [ivy:retrieve] :: resolving dependencies :: com.oltpbenchmark#oltpbench;1.0 [ivy:retrieve] confs: [default, master, compile, provided, runtime, test, system] [ivy:retrieve] You probably access the destination server through a proxy server that is not well configured. [ivy:retrieve] You probably access the destination server through a proxy server that is not well configured.

=========== In order to resolve this issue, I added the following section to build.xml.

<target name="proxy">
    <property name="proxy.host" value="host_ip_addr"/>
    <property name="proxy.port" value="port"/>
    <setproxy proxyhost="${proxy.host}" proxyport="${proxy.port}"/>
</target>

<!-- ************************************* DEPENDENCIES ************************************* -->

<target name="resolve" description="Retrieve dependencies with ivy">
    <antcall target="proxy"/>
    <ivy:retrieve />
</target>

Notice that "resolve" now calls the "proxy" task. Unfortunately, that did not help.

I have a suspicion, in addition, we need something like "sslVerify=False", but I could not figure out via a web search how to specify that in the proxy syntax.

Can you please help?

apavlo commented 4 years ago

We are working on modernizing the codebase. Try out this version: https://github.com/timveil-cockroach/oltpbench