You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes users will want to duplicate ML configuration to another environment by copying the raw json (esp. for an advanced configuration).
Currently, if they do this from an existing configuration's JSON tab and use the copy button:
When importing, it will throw an unintuitive error:
Save failed: [illegal_argument_exception] [job_details] unknown field [data_counts], parser not found
This simply means that the json being copied has sections in them that have already been enriched to include previous run metrics so that if you now use this copied json in a new adv config, it will not work.
The workaround is to use clone job, and then copy the json generated there (intermediate) in the cloned job (but not actually cloning the job itself). This will produce a valid json and the only thing they have to manually edit is to fill in a job id, etc..
Perhaps we can consider providing 2 copy to json buttons from the existing job screen, 1 for copying the json with previous run metrics, 1 without. A better solution will be: When someone tries to save an "exported" json in a new advanced configuration, parse that config, if it sees sections that have previously run metrics, automatically clean those up so that the json will then be a valid configuration to use in a new adv config.
The text was updated successfully, but these errors were encountered:
Regarding 1 and 2 above (removing run metrics) - just highlighting that it can be quite useful to have the run metrics in the JSON for the scenario where this gets sent to us as a support ticket.
Closing this as out of date. The advanced wizard was refreshed in 7.5 and "copy to clipboard" no longer exists.
Related:
From 7.11 (the next release), at the API level it is possible to define query parameter ?exclude_generated which will exclude the run metrics from the output of GET job making that output more suited for re-use.
Original comment by @ppf2:
5.5
Sometimes users will want to duplicate ML configuration to another environment by copying the raw json (esp. for an advanced configuration).
Currently, if they do this from an existing configuration's JSON tab and use the copy button:
When importing, it will throw an unintuitive error:
This simply means that the json being copied has sections in them that have already been enriched to include previous run metrics so that if you now use this copied json in a new adv config, it will not work.
The workaround is to use clone job, and then copy the json generated there (intermediate) in the cloned job (but not actually cloning the job itself). This will produce a valid json and the only thing they have to manually edit is to fill in a job id, etc..
Perhaps we can consider providing 2 copy to json buttons from the existing job screen, 1 for copying the json with previous run metrics, 1 without. A better solution will be: When someone tries to save an "exported" json in a new advanced configuration, parse that config, if it sees sections that have previously run metrics, automatically clean those up so that the json will then be a valid configuration to use in a new adv config.
The text was updated successfully, but these errors were encountered: