Uploaded image for project: 'Public H2O 3'
  1. PUBDEV-3958

h2o.save_ensemble not saving serialized h2oModels on aws

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: h2oEnsemble
    • Labels:
      None
    • CustomerVisible:
      No
    • Support Assessment:
      Data Science Issue
    • Customer Request Type:
      Forum

      Description

      Hi,

      I have built and re-used (saved) h2oEnsemble models on local machines.

      I am now running the models on AWS. All seems fine except h2o.save_ensemble seems to only be saving ensemble.RData without the serialized models. If I clear the workspace on AWS and h2o.load_ensemble of the ensemble.RData it seems to load. I can run h2o.ensemble_performance on a validation set and get the performance metrics.

      However, when I export the ensemble.RData to use the models on a local machine, I get this:
      ERROR: Unexpected HTTP Status code: 412 Precondition Failed (url = http://localhost:54321/99/Models.bin/)

      water.exceptions.H2OIllegalArgumentException
      [1] "water.exceptions.H2OIllegalArgumentException: Illegal argument: dir of function: importModel: ~/Dropbox/IronPlanet/archive/aws_model_runs/pre_price/GLM_model_R_1485214254159_1"
      [2] " water.api.ModelsHandler.importModel(ModelsHandler.java:221)"

      It seems to be looking for the serialized models, but they aren't in the folder.

      I'm running h2oEnsemble v 0.1.8.9001 on both aws and locally.

      WORKAROUND:
      I was able to resolve this. I simplified the save path to a pure text (I was pasting some variables and text before) and it now saving both the serialized models and the ensemble.Rdata file. I was able to export the models and then re-run them on OSX.

        Attachments

          Activity

            People

            • Assignee:
              erin Erin LeDell
              Reporter:
              avkash Avkash Chauhan
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: