Skip to content

run from source fails to use maven on windows #335

@leileiway

Description

@leileiway

When i execute

Python ycsb shell basic

it always says like this:

[WARN]  Running against a source checkout. In order to get our runtime dependenc
ies we'll have to invoke Maven. Depending on the state of your system, this may
take ~30-45 seconds
[DEBUG]  Running 'mvn -pl com.yahoo.ycsb:basic-binding -am package -DskipTests d
ependency:build-classpath -DincludeScope=compile -Dmdep.outputFilterFile=true'
Traceback (most recent call last):
  File "bin/ycsb", line 207, in <module>
    sys.exit(main())
  File "bin/ycsb", line 186, in main
    maven_says = get_classpath_from_maven(binding)
  File "bin/ycsb", line 130, in get_classpath_from_maven
    "-Dmdep.outputFilterFile=true"])
  File "D:\software\Python2.7.3\lib\subprocess.py", line 537, in check_output
    process = Popen(stdout=PIPE, *popenargs, **kwargs)
  File "D:\software\Python2.7.3\lib\subprocess.py", line 679, in __init__
    errread, errwrite)
  File "D:\software\Python2.7.3\lib\subprocess.py", line 896, in _execute_child
    startupinfo)
WindowsError: [Error 2]

can anyone tell me solution?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions