Skip to content
This repository has been archived by the owner on Jun 8, 2023. It is now read-only.

An problem while trying to run simlator #9

Open
guofuzhou2016 opened this issue Feb 25, 2016 · 2 comments
Open

An problem while trying to run simlator #9

guofuzhou2016 opened this issue Feb 25, 2016 · 2 comments

Comments

@guofuzhou2016
Copy link

Hi,

I am learning about the simulator and trying to compare with mesos, omega via this simulator,
after i completed installing the related software like openjdk6, scala, python,sbt, and then
run by ./sbt run, but encountered below error:

i am not sure if this is a problem of the simulator tool or my environment, would you please

help me to resolve this error, thanks so much!

root@ubuntu:~/mySimu/cluster-scheduler-simulator/bin# ./sbt run
Getting net.java.dev.jna jna 3.2.3 ...

:: problems summary ::
:::: WARNINGS
Your proxy requires authentication.

    Your proxy requires authentication.

            module not found: net.java.dev.jna#jna;3.2.3

    ==== local: tried

      /root/.ivy2/local/net.java.dev.jna/jna/3.2.3/ivys/ivy.xml

    ==== typesafe-ivy-releases: tried

      http://repo.typesafe.com/typesafe/ivy-releases/net.java.dev.jna/jna/3.2.3/ivys/ivy.xml

    ==== Maven Central: tried

      http://repo1.maven.org/maven2/net/java/dev/jna/jna/3.2.3/jna-3.2.3.pom

    ==== sonatype-snapshots: tried

      https://oss.sonatype.org/content/repositories/snapshots/net/java/dev/jna/jna/3.2.3/jna-3.2.3.pom

            ::::::::::::::::::::::::::::::::::::::::::::::

            ::          UNRESOLVED DEPENDENCIES         ::

            ::::::::::::::::::::::::::::::::::::::::::::::

            :: net.java.dev.jna#jna;3.2.3: not found

            ::::::::::::::::::::::::::::::::::::::::::::::

:::: ERRORS
Server access Error: Connection timed out url=https://oss.sonatype.org/content/repositories/snapshots/net/java/dev/jna/jna/3.2.3/jna-3.2.3.pom

:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
unresolved dependency: net.java.dev.jna#jna;3.2.3: not found
Error during sbt execution: Error retrieving required libraries
(see /root/.sbt/boot/update.log for complete log)
Error: Could not retrieve jna 3.2.3

@ms705
Copy link
Contributor

ms705 commented May 26, 2016

Hi,

Thanks for reporting this, and apologies for the late response. I've looked at it, and it seems like this is not an issue with the code, but with your local network configuration (i.e., you're using a proxy that requires authentication, as the error message suggests).

The current code (even before the Scala 2.10 patches in #7) works fine on an Ubuntu 14.04 machine for me, so I think this issue can be closed.

Cheers,
M.

@herry13
Copy link

herry13 commented May 3, 2017

@guofuzhou2016 @ms705 I've created a pull request #12 to solve this issue by forcing using Scala version 2.9.2. This patch also adds a Dockerfile so that you run the simulation inside a docker container.

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

3 participants