java.lang.IllegalArgumentException: Key not loaded: nfs://home/kevin/home-0xdiag-datasets/mnist/mnist_training.csv.gz

JIRA | Kevin Normoyle | 2 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    It sounds like we're not going to have import folder capability? or do I have to add something to my import parameter? the data exists at the folder path I'm using on my machine It's a soft link at /home/kevin/home-0xdiag-datasets, but I don't think that's an issue since it works for single file imports $ ls /home/kevin/home-0xdiag-datasets/mnist 5.csv a mnist_reals_testing.csv.gz mnist_reals_training.csv.gz mnist_testing.csv.gz mnist_training.csv.gz If I do this to h2o-dev: #*********************** python_test_name: test_parse_mnist.py #*********************** 2014-11-11 21:59:13.822383 -- Start http://192.168.0.34:54321/2/ImportFiles.json?path=/home/kevin/home-0xdiag-datasets/mnist 2014-11-11 21:59:13.896538 -- Start http://192.168.0.34:54321/ParseSetup.json?srcs=[nfs://home/kevin/home-0xdiag-datasets/mnist/mnist_training.csv.gz] ~ I get a 400 error on the parse, (no stacktrace in the response) but the h2o log has the stacktrace. It says it can't find the file (because it wasn't imported) import_only: test_parse_mnist.py local uses /home/kevin/home-0xdiag-datasets/mnist JSON call returned non-200 status with http://192.168.0.34:54321/ParseSetup.json?srcs=[nfs://home/kevin/home-0xdiag-datasets/mnist/mnist_training.csv.gz] r.status_code: 400 r.headers: {'date': 'Wed, 12 Nov 2014 06:03:11 GMT', 'content-type': 'application/json'} r.text: {"schema_version":-1,"schema_name":"Schema","schema_type":"Iced","status_header":"400 Bad Request","errmsg":"Key not loaded: nfs://home/kevin/home-0xdiag-datasets/mnist/mnist_training.csv.gz","errurl":"/ParseSetup.json","stacktrace":null} ERROR 11-11 22:03:11.519 192.168.0.34:54321 29579 # Session WARN: java.lang.IllegalArgumentException: Key not loaded: nfs://home/kevin/home-0xdiag-datasets/mnist/mnist_training.csv.gz 11-11 22:03:11.519 192.168.0.34:54321 29579 # Session WARN: at water.parser.ParseSetupHandler.guessSetup(ParseSetupHandler.java:16) 11-11 22:03:11.519 192.168.0.34:54321 29579 # Session WARN: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 11-11 22:03:11.519 192.168.0.34:54321 29579 # Session WARN: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 11-11 22:03:11.519 192.168.0.34:54321 29579 # Session WARN: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 11-11 22:03:11.519 192.168.0.34:54321 29579 # Session WARN: at java.lang.reflect.Method.invoke(Method.java:606) 11-11 22:03:11.519 192.168.0.34:54321 29579 # Session WARN: at water.api.Handler.handle(Handler.java:55) 11-11 22:03:11.519 192.168.0.34:54321 29579 # Session WARN: at water.api.RequestServer.handle(RequestServer.java:470) 11-11 22:03:11.519 192.168.0.34:54321 29579 # Session WARN: at water.api.RequestServer.serve(RequestServer.java:448) 11-11 22:03:11.519 192.168.0.34:54321 29579 # Session WARN: at water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:428) 11-11 22:03:11.519 192.168.0.34:54321 29579 # Session WARN: at java.lang.Thread.run(Thread.java:745) ~

    JIRA | 2 years ago | Kevin Normoyle
    java.lang.IllegalArgumentException: Key not loaded: nfs://home/kevin/home-0xdiag-datasets/mnist/mnist_training.csv.gz
  2. 0

    It sounds like we're not going to have import folder capability? or do I have to add something to my import parameter? the data exists at the folder path I'm using on my machine It's a soft link at /home/kevin/home-0xdiag-datasets, but I don't think that's an issue since it works for single file imports $ ls /home/kevin/home-0xdiag-datasets/mnist 5.csv a mnist_reals_testing.csv.gz mnist_reals_training.csv.gz mnist_testing.csv.gz mnist_training.csv.gz If I do this to h2o-dev: #*********************** python_test_name: test_parse_mnist.py #*********************** 2014-11-11 21:59:13.822383 -- Start http://192.168.0.34:54321/2/ImportFiles.json?path=/home/kevin/home-0xdiag-datasets/mnist 2014-11-11 21:59:13.896538 -- Start http://192.168.0.34:54321/ParseSetup.json?srcs=[nfs://home/kevin/home-0xdiag-datasets/mnist/mnist_training.csv.gz] ~ I get a 400 error on the parse, (no stacktrace in the response) but the h2o log has the stacktrace. It says it can't find the file (because it wasn't imported) import_only: test_parse_mnist.py local uses /home/kevin/home-0xdiag-datasets/mnist JSON call returned non-200 status with http://192.168.0.34:54321/ParseSetup.json?srcs=[nfs://home/kevin/home-0xdiag-datasets/mnist/mnist_training.csv.gz] r.status_code: 400 r.headers: {'date': 'Wed, 12 Nov 2014 06:03:11 GMT', 'content-type': 'application/json'} r.text: {"schema_version":-1,"schema_name":"Schema","schema_type":"Iced","status_header":"400 Bad Request","errmsg":"Key not loaded: nfs://home/kevin/home-0xdiag-datasets/mnist/mnist_training.csv.gz","errurl":"/ParseSetup.json","stacktrace":null} ERROR 11-11 22:03:11.519 192.168.0.34:54321 29579 # Session WARN: java.lang.IllegalArgumentException: Key not loaded: nfs://home/kevin/home-0xdiag-datasets/mnist/mnist_training.csv.gz 11-11 22:03:11.519 192.168.0.34:54321 29579 # Session WARN: at water.parser.ParseSetupHandler.guessSetup(ParseSetupHandler.java:16) 11-11 22:03:11.519 192.168.0.34:54321 29579 # Session WARN: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 11-11 22:03:11.519 192.168.0.34:54321 29579 # Session WARN: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 11-11 22:03:11.519 192.168.0.34:54321 29579 # Session WARN: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 11-11 22:03:11.519 192.168.0.34:54321 29579 # Session WARN: at java.lang.reflect.Method.invoke(Method.java:606) 11-11 22:03:11.519 192.168.0.34:54321 29579 # Session WARN: at water.api.Handler.handle(Handler.java:55) 11-11 22:03:11.519 192.168.0.34:54321 29579 # Session WARN: at water.api.RequestServer.handle(RequestServer.java:470) 11-11 22:03:11.519 192.168.0.34:54321 29579 # Session WARN: at water.api.RequestServer.serve(RequestServer.java:448) 11-11 22:03:11.519 192.168.0.34:54321 29579 # Session WARN: at water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:428) 11-11 22:03:11.519 192.168.0.34:54321 29579 # Session WARN: at java.lang.Thread.run(Thread.java:745) ~

    JIRA | 2 years ago | Kevin Normoyle
    java.lang.IllegalArgumentException: Key not loaded: nfs://home/kevin/home-0xdiag-datasets/mnist/mnist_training.csv.gz

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Key not loaded: nfs://home/kevin/home-0xdiag-datasets/mnist/mnist_training.csv.gz

      at water.parser.ParseSetupHandler.guessSetup()
    2. water.parser
      ParseSetupHandler.guessSetup
      1. water.parser.ParseSetupHandler.guessSetup(ParseSetupHandler.java:16)
      1 frame
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    4. water.api
      RequestServer.serve
      1. water.api.Handler.handle(Handler.java:55)
      2. water.api.RequestServer.handle(RequestServer.java:470)
      3. water.api.RequestServer.serve(RequestServer.java:448)
      3 frames
    5. water
      NanoHTTPD$HTTPSession.run
      1. water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:428)
      1 frame
    6. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame