Hi Karan,

That's cool you've made it. Thanks for your contribution.

Actually the code you mentioned has been fixed by someone else:
https://github.com/apache/incubator-griffin/tree/master/measure/src/main/scala/org/apache/griffin/measure/persist#L68

Thanks,
Lionel

On Tue, May 15, 2018 at 8:52 PM, Karan Gupta <[email protected]> wrote:

> Hi Lionel,
>
>
>
> We were finally able to populate the Griffin DQ Metrics and view the same
> on the Griffin Console.
>
>
>
> Here is the final adjustment I made in the HttpPersist.scala -> def
> httpResult
>
>
>
> Patching -> val header = Map[String, Object]("Content-Type"->"
> application/json")
>
>
>
> Reference -> curl -X POST "http://<HOST ES::9200>/griffin/accuracy/" -H
> "Content-Type:application/json" -d @<FILENAME>
>
>
>
> The above patching worked and now I am able to see the Griffin DQ Metrics.
>
>
>
>
>
> We are using Spark 1.6.2 in our HDP cluster.. May be, could that be the
> reason?
>
> The scalaj.http libraries that we use, probably are older… may be…….Not
> sure..
>
>
>
> Anyway, All is well that ends well 😊
>
>
>
> A Big THANKS to @Lionel Liu <[email protected]> for all his help!!!!
>
>
>
> Thank you,
>
> Karan Gupta
> ------------------------------
> Any comments or statements made in this email are not necessarily those of
> Tavant Technologies. The information transmitted is intended only for the
> person or entity to which it is addressed and may contain confidential
> and/or privileged material. If you have received this in error, please
> contact the sender and delete the material from any computer. All emails
> sent from or to Tavant Technologies may be subject to our monitoring
> procedures.
>

Reply via email to