Skip to content
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

Info Typer errors after adding types to metadata database #5

Open
michael-conway opened this issue Apr 5, 2017 · 1 comment
Open
Assignees

Comments

@michael-conway
Copy link

michael-conway commented Apr 5, 2017

#4 Possibly cause of jex not reporting back completed jobs...

Apr 5 12:23:36 dsai-de-svcs info-typer[1056]: {"@timestamp":"2017-04-05T12:23:36.704-04:00","@Version":1,"message":"[amqp/message-handler] [data-object.add] [{"author":{"name":"testde2","zone":"dsai_renci"},"entity":"/dsai_renci/home/testde2/analyses/DE_Word_Count_analysis1-2017-04-05-16-23-22.3/logs/condor-stdout-0","path":"/dsai_renci/home/testde2/analyses/DE_Word_Count_analysis1-2017-04-05-16-23-22.3/logs/condor-stdout-0","creator":{"name":"testde2","zone":"dsai_renci"},"size":44,"type":"generic"}]","loggerName":"info-typer.messaging","thread":"pool-1-thread-6","level":"INFO","HOSTNAME":"82346d9b9e23","group-id":"org.iplantc","art-id":"info-typer","amqp-delivery-tag":"15351","service":"info-typer","desc":"DE message handling service for file info type detection","app-name":"info-typer","service":"info-typer"}
Apr 5 12:23:36 dsai-de-svcs info-typer[1056]: {"@timestamp":"2017-04-05T12:23:36.752-04:00","@Version":1,"message":"clojure.lang.ExceptionInfo: throw+: {:error_code "ERR_INVALID_JSON", :payload "{\"author\":{\"name\":\"testde2\",\"zone\":\"dsai_renci\"},\"entity\":\"/dsai_renci/home/testde2/analyses/DE_Word_Count_analysis1-2017-04-05-16-23-22.3/logs/condor-stdout-0\",\"path\":\"/dsai_renci/home/testde2/analyses/DE_Word_Count_analysis1-2017-04-05-16-23-22.3/logs/condor-stdout-0\",\"creator\":{\"name\":\"testde2\",\"zone\":\"dsai_renci\"},\"size\":44,\"type\":\"generic\"}"} {:error_code "ERR_INVALID_JSON", :payload "{\"author\":{\"name\":\"testde2\",\"zone\":\"dsai_renci\"},\"entity\":\"/dsai_renci/home/testde2/analyses/DE_Word_Count_analysis1-2017-04-05-16-23-22.3/logs/condor-stdout-0\",\"path\":\"/dsai_renci/home/testde2/analyses/DE_Word_Count_analysis1-2017-04-05-16-23-22.3/logs/condor-stdout-0\",\"creator\":{\"name\":\"testde2\",\"zone\":\"dsai_renci\"},\"size\":44,\"type\":\"generic\"}"}\n\tat info_typer.messaging$get_file_id.invoke(messaging.clj:24)\n\tat info_typer.messaging$filetype_message_handler.invoke(messaging.clj:31)\n\tat info_typer.messaging$dataobject_added.invoke(messaging.clj:58)\n\tat info_typer.messaging$message_handler.invoke(messaging.clj:76)\n\tat clojure.core$partial$fn__4527.invoke(core.clj:2495)\n\tat langohr.consumers$create_default$fn__2512.invoke(consumers.clj:84)\n\tat langohr.consumers.proxy$com.rabbitmq.client.DefaultConsumer$ff19274a.handleDelivery(Unknown Source)\n\tat com.rabbitmq.client.impl.ConsumerDispatcher$5.run(ConsumerDispatcher.java:144)\n\tat com.rabbitmq.client.impl.ConsumerWorkService$WorkPoolRunnable.run(ConsumerWorkService.java:99)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\n\tat java.lang.Thread.run(Thread.java:745)\nCaused by: java.lang.IllegalArgumentException: Invalid UUID string: /dsai_renci/home/testde2/analyses/DE_Word_Count_analysis1-2017-04-05-16-23-22.3/logs/condor-stdout-0\n\tat java.util.UUID.fromString(UUID.java:194)\n\tat info_typer.messaging$get_file_id.invoke(messaging.clj:22)\n\t... 11 more\n","loggerName":"info-typer.messaging","thread":"pool-1-thread-6","level":"ERROR","HOSTNAME":"82346d9b9e23","group-id":"org.iplantc","art-id":"info-typer","amqp-delivery-tag":"15351","service":"info-typer","desc":"DE message handling service for file info type detection","app-name":"info-typer","service":"info-typer"}
Apr 5 12:23:36 dsai-de-svcs info-typer[1056]: {"@timestamp":"2017-04-05T12:23:36.753-04:00","@Version":1,"message":"[amqp/message-handler] [data-object.add] [{"author":{"name":"testde2","zone":"dsai_renci"},"entity":"/dsai_renci/home/testde2/analyses/DE_Word_Count_analysis1-2017-04-05-16-23-22.3/logs/condor-stdout-0","path":"/dsai_renci/home/testde2/analyses/DE_Word_Count_analysis1-2017-04-05-16-23-22.3/logs/condor-stdout-0","creator":{"name":"testde2","zone":"dsai_renci"},"size":44,"type":"generic"}]","loggerName":"info-typer.messaging","thread":"pool-1-thread-5","level":"INFO","HOSTNAME":"82346d9b9e23","group-id":"org.iplantc","art-id":"info-typer","amqp-delivery-tag":"15352","service":"info-typer","desc":"DE message handling service for file info type detection","app-name":"info-typer","service":"info-typer"}

@michael-conway michael-conway self-assigned this Apr 5, 2017
@michael-conway
Copy link
Author

entity of that message seems to expect a GUID, what gives?

$writeFlag = 0
Topic: data-object.add
Message Format:
{
“author”: <user object - the agent of change>,
“entity”: <the data object’s GUID>,
“path”: <string - the logical path to the data object>,
“creator”: <user object - the creator of the data object>,
“size”: <number - the size in bytes of the data>,
“type”: <string - the type of the data object, if known>
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant