-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NOt a REST resouce when deploying a TDE template with the combination ML-10.0.9-3 and ML-Gradle 4.3.5 #626
Comments
@DavidEnnis-17llamas On ML 10.0-9, tde.templateBatchInsert is used as that performs validation - but if there's an error, the ML Java Client doesn't receive it, and it instead reports the unhelpful error you're getting. marklogic/ml-javaclient-util#153 will be addressed in the next release, as the best that can be done is to log the script that's being run so that the user can re-run it in qconsole to see the real error. We have an internal issue for fixing the interaction between the Java Client and the REST API so that the helpful error is returned. Note that marklogic/ml-javaclient-util#156 was just fixed this past Friday - if you're using a permissions.properties file, you may be running into that bug. In the meantime, the workaround unfortunately is to turn TDE validation off - e.g |
HI Rob. Thanks. Will see about disabling validation. Some interesting points: But then: Templates validate in Query console, So I assume there is something else strange going on. For now, I will disable validation. Thanks for the assistance. David |
Yup, have been seeing the same thing. The Java Client unfortunately does not get an error, and it's not shown in the ML error logs. marklogic/ml-javaclient-util#157 will recommend that the user run in Query Console the same script that ml-gradle uses to load and validate the templates, which I think is the best that ml-gradle can do, since it doesn't have access to the actual error. Closing this as the above PR will resolve this issue. |
@DavidEnnis-17llamas Give 4.3.6 a try, just released. |
ML: 10.0.9-3
ML-Gradle 4.3.5
Default port assignment for deploy steps.
Scenerio:
Failure happens during the validation process of the TDE Templates (TemplateBachInsert, I believe)
-- Not a REST instance
-- Diving Deeper: It appears to be hitting port 8000, but that is causing a redirect to port 8002.
Dropping the number down for ML-Gradle fixes the issue.
The text was updated successfully, but these errors were encountered: