dockermarklogicmarklogic-dhf

Installing DHF on MarkLogic Docker


Now I am trying to install latest DHF on top of MarkLogic Docker instance (on Docker Mac). I could successfully run MarkLogic 10 docker instance based on the image provided on Docker Hub.

The problem occur when I try to install the latest DHF. I tried both ways, running DHF jar from either "host" or from inside "container instance". However, both ways lead to fails at initiating Data Hub project (48%, Step 24 of 47). I see the following error on the quickstart log window.

java.lang.RuntimeException: com.marklogic.client.MarkLogicIOException: java.io.IOException: unexpected end of stream on Connection{localhost:8010, proxy=DIRECT hostAddress=localhost/0:0:0:0:0:0:0:1:8010 cipherSuite=none protocol=http/1.1} at com.marklogic.hub.deploy.commands.GenerateFunctionMetadataCommand.execute(GenerateFunctionMetadataCommand.java:88)

Any advice will be appreciated.


Solution

  • The unexpected end of stream on Connection type of messages typically occur when MarkLogic has been triggered to reboot to apply config updates (only necessary for particular settings, like port changes, and such), while deployment is not anticipating that. The usual solution is to just repeat the last command, to make it try again, and kind of continue where it left off.

    It most often happens during initial deployment when a lot of app servers, and databases are added and configured. It should not occur again once your Data Hub is in place.

    HTH!