Code Monkey home page Code Monkey logo

Comments (2)

tomconte avatar tomconte commented on May 17, 2024

Got a similar issue... Here is a debug log from the nutter CLI:

2020-10-13 09:57:40,000:DEBUG:Executing function with HTTP retry policy. Max tries:20  delay:30
2020-10-13 09:57:40,002:DEBUG:Message from queue: <common.statuseventhandler.StatusEvent object at 0x111446c10>
2020-10-13 09:57:40,410:DEBUG:https://adb-6447267702748866.6.azuredatabricks.net:443 "POST /api/2.0/jobs/runs/submit HTTP/1.1" 200 14
2020-10-13 09:57:40,411:DEBUG:Executing function with HTTP retry policy. Max tries:20  delay:30
2020-10-13 09:57:40,544:DEBUG:https://adb-6447267702748866.6.azuredatabricks.net:443 "GET /api/2.0/jobs/runs/get-output?run_id=755 HTTP/1.1" 200 None
2020-10-13 09:57:40,545:DEBUG:{'metadata': {'job_id': 755, 'run_id': 755, 'number_in_job': 1, 'state': {'life_cycle_state': 'PENDING', 'state_message': ''}, 'task': {'notebook_task': {'notebook_path': '/Shared/Temp-CI/testing/test_drop_employee_csv_full_timestamp'}}, 'cluster_spec': {'existing_cluster_id': '0915-120444-foe167'}, 'cluster_instance': {'cluster_id': '0915-120444-foe167'}, 'start_time': 1602575860358, 'setup_duration': 0, 'execution_duration': 0, 'cleanup_duration': 0, 'creator_user_name': '[email protected]', 'run_name': 'c41d56fe-0d29-11eb-b2a9-acde48001122', 'run_page_url': 'https://northeurope.azuredatabricks.net/?o=6447267702748866#job/755/run/1', 'run_type': 'SUBMIT_RUN'}, 'error': 'No output is available until the task begins.'}
2020-10-13 09:57:41,550:DEBUG:Executing function with HTTP retry policy. Max tries:20  delay:30
2020-10-13 09:57:41,873:DEBUG:https://adb-6447267702748866.6.azuredatabricks.net:443 "GET /api/2.0/jobs/runs/get-output?run_id=755 HTTP/1.1" 200 None
2020-10-13 09:57:41,874:DEBUG:{'metadata': {'job_id': 755, 'run_id': 755, 'number_in_job': 1, 'state': {'life_cycle_state': 'PENDING', 'state_message': ''}, 'task': {'notebook_task': {'notebook_path': '/Shared/Temp-CI/testing/test_drop_employee_csv_full_timestamp'}}, 'cluster_spec': {'existing_cluster_id': '0915-120444-foe167'}, 'cluster_instance': {'cluster_id': '0915-120444-foe167'}, 'start_time': 1602575860358, 'setup_duration': 0, 'execution_duration': 0, 'cleanup_duration': 0, 'creator_user_name': '[email protected]', 'run_name': 'c41d56fe-0d29-11eb-b2a9-acde48001122', 'run_page_url': 'https://northeurope.azuredatabricks.net/?o=6447267702748866#job/755/run/1', 'run_type': 'SUBMIT_RUN'}, 'error': 'No output is available until the task begins.'}
2020-10-13 09:57:42,879:DEBUG:Executing function with HTTP retry policy. Max tries:20  delay:30
2020-10-13 09:57:43,059:DEBUG:https://adb-6447267702748866.6.azuredatabricks.net:443 "GET /api/2.0/jobs/runs/get-output?run_id=755 HTTP/1.1" 400 None
2020-10-13 09:57:43,060:DEBUG:Error: 400 Client Error: Bad Request for url: https://adb-6447267702748866.6.azuredatabricks.net/api/2.0/jobs/runs/get-output?run_id=755
 Response from server:
 { 'error_code': 'INVALID_STATE',
  'message': 'Run result is empty. There may have been issues while saving or '
             'reading results.'}
2020-10-13 09:57:43,060:DEBUG:Function Handler. Exception in function. Error 400 Client Error: Bad Request for url: https://adb-6447267702748866.6.azuredatabricks.net/api/2.0/jobs/runs/get-output?run_id=755
 Response from server:
 { 'error_code': 'INVALID_STATE',
  'message': 'Run result is empty. There may have been issues while saving or '
             'reading results.'} False

Job 755 shows:

image

from nutter.

tomconte avatar tomconte commented on May 17, 2024

This seems to be linked to an inability to pickle the Java exception? Right now I am using the following workaround:

  for res in result.test_results.results:
    # Workaround: suppress problematic exceptions 
    if isinstance(res.exception, py4j.protocol.Py4JJavaError):
      res.exception = None

from nutter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.