Support Questions

Find answers, ask questions, and share your expertise

How to set UDF profile in Pig

avatar
Rising Star

Can anybody suggest me how to set the pig.udf.profile in HortonWorks. I want to track the performance of UDF.

1 ACCEPTED SOLUTION

avatar
Master Mentor
@Vidya SK

Look for pig.properties in your env. In my case it's /etc/pig/conf.install/pig.properties

[root@phdns01 ~]# cat /etc/pig/conf.install/pig.properties | grep pig.udf.profile

# pig.udf.profile=false

# pig.udf.profile.frequency=100

[root@phdns01 ~]#

View solution in original post

2 REPLIES 2

avatar
Master Mentor
@Vidya SK

Look for pig.properties in your env. In my case it's /etc/pig/conf.install/pig.properties

[root@phdns01 ~]# cat /etc/pig/conf.install/pig.properties | grep pig.udf.profile

# pig.udf.profile=false

# pig.udf.profile.frequency=100

[root@phdns01 ~]#

avatar
Rising Star

Thanks Neeraj. Your solution worked out.