Skip to content
This repository has been archived by the owner on Aug 23, 2021. It is now read-only.

OLTPBench: ant resolve fails #323

Open
arunmarathe opened this issue Apr 16, 2020 · 1 comment
Open

OLTPBench: ant resolve fails #323

arunmarathe opened this issue Apr 16, 2020 · 1 comment

Comments

@arunmarathe
Copy link

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
Copy link
Member

apavlo commented May 22, 2020

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants