Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here. Want to know more about what has changed? Check out the Community News blog.

convertTimestamp unixTimeInMillis

convertTimestamp unixTimeInMillis

New Contributor

I want to do this using a morphlines.conf to index with Solr an Hbase date in millis.


field : date-created
inputFormats : ["unixTimeInMillis"]
inputTimezone : UTC
outputFormat : "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"
outputTimezone : UTC


What should be the correct syntax for inputFormats :  ? The above just ignores my field.  If I don't have a convertTimestamp, I get: Batch Write Failure at

org.apache.solr.common.SolrException: Invalid Date String:'1406105449972'




Re: convertTimestamp unixTimeInMillis

Expert Contributor
Please post questions related to Cloudera Search to, not here.


Re: convertTimestamp unixTimeInMillis

Master Collaborator

I'd also like to point out that we have a very active Discussion Board here in the community that is dedicated to Cloudera Search: