Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Extra charcter 'u' for multivalued fields in hue search dashboard

avatar
Explorer

Hi Team,

I am indexing Json Documents into cloudera search using morphline.

When I view the documents using cloudera hue dashboard, I see 'u' character before every value of multivalued field. For example, as shown below every value has extra 'u' char for multivalued field "offices":

 

offices
[u'New york',u'New Delhi',u'Paris']
[u'']
[u'Mumbai']
[u'New Delhi']
[u'Chicago']

Schema.xml entry
<field name="offices" type="text_general" multiValued="true"/>

Is there a way to get rid of this 'u' character. It is not there in the data as well as I do not see it in apache solr UI.

I am using Hue-3.7.0 with cloudera CDH-5.4.5
cat /opt/cloudera/parcels/CDH-5.4.5-1.cdh5.4.5.p0.7/lib/hue/VERSION |grep -i version=
VERSION="3.7.0"

Regards,
-Sanjay

1 ACCEPTED SOLUTION

avatar
Super Guru
Indeed, this is a bug that is going to be fixed with
https://review.cloudera.org/r/5962/ in Hue 3.10 and CDH5.5

Thanks for the report!

Romain

View solution in original post

4 REPLIES 4

avatar
Super Guru
This is normal AFAIK for multi value fields. Don't you see the same in the
native Solr Query UI?

Romain

avatar
Explorer

No I do see the "u" character in Apache solr native UI as shown below : 

 

apache_solr_snippet.JPG

 

 

However in hue it shows extrac char "u" as shown below :

hue_multivalued_field.JPG

 

Regards,

-Sanjay

avatar
Explorer

Any updates on this Romain ?

 

One correction in above comment text 

"No I do not see the "u" character in Apache solr native UI"

avatar
Super Guru
Indeed, this is a bug that is going to be fixed with
https://review.cloudera.org/r/5962/ in Hue 3.10 and CDH5.5

Thanks for the report!

Romain