https://pantsbuild.org/ logo
#general
Title
# general
b

brief-sugar-84319

06/30/2020, 2:55 PM
Copy code
./pants binary src/main/java/com/dea/hive/udfs:hiveUdf
> 10:55:05 00:00 [main]
               (To run a reporting server: ./pants server)
10:55:06 00:01   [setup]
10:55:06 00:01     [parse]
               Executing tasks in goals: unpack-wheels -> bootstrap -> imports -> unpack-jars -> deferred-sources -> native-compile -> link -> jvm-platform-validate -> gen -> resolve -> resources -> compile -> pyprep -> binary
10:55:06 00:01   [unpack-wheels]
10:55:06 00:01     [unpack-wheels]
10:55:06 00:01   [bootstrap]
10:55:06 00:01     [substitute-aliased-targets]
10:55:06 00:01     [jar-dependency-management]
10:55:06 00:01     [bootstrap-jvm-tools]
10:55:06 00:01     [provide-tools-jar]
10:55:06 00:01   [imports]
10:55:06 00:01     [ivy-imports]
10:55:06 00:01   [unpack-jars]
10:55:06 00:01     [unpack-jars]
10:55:06 00:01   [deferred-sources]
10:55:06 00:01     [deferred-sources]
10:55:06 00:01   [native-compile]
10:55:06 00:01     [conan-prep]
10:55:06 00:01     [conan-fetch]
10:55:06 00:01     [c-for-ctypes]
10:55:07 00:02     [cpp-for-ctypes]
10:55:07 00:02   [link]
10:55:07 00:02     [shared-libraries]
10:55:07 00:02   [jvm-platform-validate]
10:55:07 00:02     [jvm-platform-validate]
10:55:07 00:02   [gen]
10:55:07 00:02     [antlr-java]
10:55:07 00:02     [antlr-py]
10:55:07 00:02     [jaxb]
10:55:07 00:02     [protoc]
10:55:07 00:02     [ragel]
10:55:07 00:02     [thrift-java]
10:55:07 00:02     [thrift-py]
10:55:07 00:02     [grpcio-prep]
10:55:07 00:02     [grpcio-run]
10:55:07 00:02     [wire]
10:55:07 00:02   [resolve]
10:55:07 00:02     [ivy]
               Waiting for background workers to finish.
10:55:07 00:02   [complete]
               FAILURE
timestamp: 2020-06-30T10:55:07.631807
Exception caught: (exceptions.OSError)
  File "/Users/sachindoiphode/.cache/pants/setup/bootstrap-Darwin-x86_64/1.15.0/bin/pants", line 8, in <module>
    sys.exit(main())
  File "/Users/sachindoiphode/.cache/pants/setup/bootstrap-Darwin-x86_64/1.15.0/lib/python2.7/site-packages/pants/bin/pants_loader.py", line 87, in main
    PantsLoader.run()
  File "/Users/sachindoiphode/.cache/pants/setup/bootstrap-Darwin-x86_64/1.15.0/lib/python2.7/site-packages/pants/bin/pants_loader.py", line 83, in run
    cls.load_and_execute(entrypoint)
  File "/Users/sachindoiphode/.cache/pants/setup/bootstrap-Darwin-x86_64/1.15.0/lib/python2.7/site-packages/pants/bin/pants_loader.py", line 76, in load_and_execute
    entrypoint_main()
  File "/Users/sachindoiphode/.cache/pants/setup/bootstrap-Darwin-x86_64/1.15.0/lib/python2.7/site-packages/pants/bin/pants_exe.py", line 39, in main
    PantsRunner(exiter, start_time=start_time).run()
  File "/Users/sachindoiphode/.cache/pants/setup/bootstrap-Darwin-x86_64/1.15.0/lib/python2.7/site-packages/pants/bin/pants_runner.py", line 62, in run
    return runner.run()
  File "/Users/sachindoiphode/.cache/pants/setup/bootstrap-Darwin-x86_64/1.15.0/lib/python2.7/site-packages/pants/bin/local_pants_runner.py", line 164, in run
    self._run()
  File "/Users/sachindoiphode/.cache/pants/setup/bootstrap-Darwin-x86_64/1.15.0/lib/python2.7/site-packages/pants/bin/local_pants_runner.py", line 232, in _run
    goal_runner_result = self._maybe_run_v1(run_tracker, reporting)
  File "/Users/sachindoiphode/.cache/pants/setup/bootstrap-Darwin-x86_64/1.15.0/lib/python2.7/site-packages/pants/bin/local_pants_runner.py", line 181, in _maybe_run_v1
    return goal_runner_factory.create().run()
  File "/Users/sachindoiphode/.cache/pants/setup/bootstrap-Darwin-x86_64/1.15.0/lib/python2.7/site-packages/pants/bin/goal_runner.py", line 205, in run
    return self._run_goals()
  File "/Users/sachindoiphode/.cache/pants/setup/bootstrap-Darwin-x86_64/1.15.0/lib/python2.7/site-packages/pants/bin/goal_runner.py", line 176, in _run_goals
    result = self._execute_engine()
  File "/Users/sachindoiphode/.cache/pants/setup/bootstrap-Darwin-x86_64/1.15.0/lib/python2.7/site-packages/pants/bin/goal_runner.py", line 164, in _execute_engine
    result = engine.execute(self._context, self._goals)
  File "/Users/sachindoiphode/.cache/pants/setup/bootstrap-Darwin-x86_64/1.15.0/lib/python2.7/site-packages/pants/engine/legacy_engine.py", line 26, in execute
    self.attempt(context, goals)
  File "/Users/sachindoiphode/.cache/pants/setup/bootstrap-Darwin-x86_64/1.15.0/lib/python2.7/site-packages/pants/engine/round_engine.py", line 234, in attempt
    goal_executor.attempt(explain)
  File "/Users/sachindoiphode/.cache/pants/setup/bootstrap-Darwin-x86_64/1.15.0/lib/python2.7/site-packages/pants/engine/round_engine.py", line 50, in attempt
    task.execute()
  File "/Users/sachindoiphode/.cache/pants/setup/bootstrap-Darwin-x86_64/1.15.0/lib/python2.7/site-packages/pants/backend/jvm/tasks/ivy_resolve.py", line 104, in execute
    executor = self.create_java_executor()
  File "/Users/sachindoiphode/.cache/pants/setup/bootstrap-Darwin-x86_64/1.15.0/lib/python2.7/site-packages/pants/backend/jvm/tasks/nailgun_task.py", line 81, in create_java_executor
    classpath = os.pathsep.join(self.tool_classpath('nailgun-server'))
  File "/Users/sachindoiphode/.cache/pants/setup/bootstrap-Darwin-x86_64/1.15.0/lib/python2.7/site-packages/pants/backend/jvm/tasks/jvm_tool_task_mixin.py", line 54, in tool_classpath
    return self.tool_classpath_from_products(self.context.products, key, scope=self._scope(scope))
  File "/Users/sachindoiphode/.cache/pants/setup/bootstrap-Darwin-x86_64/1.15.0/lib/python2.7/site-packages/pants/backend/jvm/subsystems/jvm_tool_mixin.py", line 216, in tool_classpath_from_products
    return callback()
  File "/Users/sachindoiphode/.cache/pants/setup/bootstrap-Darwin-x86_64/1.15.0/lib/python2.7/site-packages/pants/backend/jvm/tasks/bootstrap_jvm_tools.py", line 344, in bootstrap_classpath
    cache['classpath'] = self._bootstrap_jvm_tool(dep_spec, jvm_tool)
  File "/Users/sachindoiphode/.cache/pants/setup/bootstrap-Darwin-x86_64/1.15.0/lib/python2.7/site-packages/pants/backend/jvm/tasks/bootstrap_jvm_tools.py", line 333, in _bootstrap_jvm_tool
    return self._bootstrap_classpath(jvm_tool, targets)
  File "/Users/sachindoiphode/.cache/pants/setup/bootstrap-Darwin-x86_64/1.15.0/lib/python2.7/site-packages/pants/backend/jvm/tasks/bootstrap_jvm_tools.py", line 244, in _bootstrap_classpath
    ivy_classpath = self.ivy_classpath(targets, silent=True, workunit_name=workunit_name)
  File "/Users/sachindoiphode/.cache/pants/setup/bootstrap-Darwin-x86_64/1.15.0/lib/python2.7/site-packages/pants/backend/jvm/tasks/ivy_task_mixin.py", line 156, in ivy_classpath
    result = self._ivy_resolve(targets, silent=silent, workunit_name=workunit_name)
  File "/Users/sachindoiphode/.cache/pants/setup/bootstrap-Darwin-x86_64/1.15.0/lib/python2.7/site-packages/pants/backend/jvm/tasks/ivy_task_mixin.py", line 254, in _ivy_resolve
    resolve_vts, targets, workunit_name)
  File "/Users/sachindoiphode/.cache/pants/setup/bootstrap-Darwin-x86_64/1.15.0/lib/python2.7/site-packages/pants/backend/jvm/tasks/ivy_task_mixin.py", line 277, in _perform_resolution
    result = resolve.load(targets)
  File "/Users/sachindoiphode/.cache/pants/setup/bootstrap-Darwin-x86_64/1.15.0/lib/python2.7/site-packages/pants/backend/jvm/ivy_utils.py", line 231, in load
    artifact_paths, hardlink_map = self._construct_and_load_hardlink_map()
  File "/Users/sachindoiphode/.cache/pants/setup/bootstrap-Darwin-x86_64/1.15.0/lib/python2.7/site-packages/pants/backend/jvm/ivy_utils.py", line 118, in _construct_and_load_hardlink_map
    self.hardlink_classpath_filename)
  File "/Users/sachindoiphode/.cache/pants/setup/bootstrap-Darwin-x86_64/1.15.0/lib/python2.7/site-packages/pants/backend/jvm/ivy_utils.py", line 828, in construct_and_load_hardlink_map
    hardlink_classpath_filename)
  File "/Users/sachindoiphode/.cache/pants/setup/bootstrap-Darwin-x86_64/1.15.0/lib/python2.7/site-packages/pants/backend/jvm/ivy_utils.py", line 863, in _hardlink_cachepath
    safe_hardlink_or_copy(path, hardlink)
  File "/Users/sachindoiphode/.cache/pants/setup/bootstrap-Darwin-x86_64/1.15.0/lib/python2.7/site-packages/pants/util/fileutil.py", line 71, in safe_hardlink_or_copy
    os.link(source, dest)

Exception message: [Errno 2] No such file or directory
4 Views