Member since
09-25-2015
230
Posts
276
Kudos Received
39
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
25099 | 07-05-2016 01:19 PM | |
8469 | 04-01-2016 02:16 PM | |
2125 | 02-17-2016 11:54 AM | |
5666 | 02-17-2016 11:50 AM | |
12687 | 02-16-2016 02:08 AM |
04-27-2016
04:36 AM
Awesome! Thank you. This is much easier than writing a custom processor.
... View more
04-27-2016
04:04 AM
Thanks @mburgess. Imagine, hypothetically, I want to call a static method passing a string as parameter, like reserve from Apache Commons StringUtils. Would something like this work? org.apache.commons.lang3.StringUtils.reverse( ${my_nifi_attribute} )
... View more
04-27-2016
03:35 AM
Thanks @Artem Ervits, yes I remember your Groovy great post for hive. Would you have and groovy example for NiFi as well?
... View more
04-27-2016
03:12 AM
3 Kudos
Is there a NiFi processor where I can pass a java class name, method name and arguments and get results? Similar to Hive reflect UDF. I found ExecuteStreamCommand (which seems to do the same with OS commands) and ExecuteScript (but not sure if it's possible to call java methods using NiFi script language). Thanks.
... View more
Labels:
- Labels:
-
Apache NiFi
04-24-2016
01:03 AM
1 Kudo
@Alberto Romero Notice that if you are re-using initialized sessions (hive.server2.tez.initialize.default.sessions) this solution will not work, because the properties are created only when the AM starts. When you use default sessions the AM will be created before your hook can define a custom property. The hook solution work for non-default tez sessions and also for map-reduce. Find here some rest calls to RM API that works for all Tez scenarios (but not for map-reduce engine).
... View more
04-01-2016
02:16 PM
4 Kudos
Hi @Santiago Goro I took a loot at your server and I found some weird things and fixed them, as described below: 1- When I tried to start hue (service hue start), I receive lots of permissions errors and fixed then changing owner of directory /var/log/hue (chown -R hue:hue /var/log/hue) 2- After turning on debug mode, I saw an error (django.db.utils.DatabaseError: no such table: auth_user), looks like hue database is corrput 3- I started a testserver (/usr/lib/hue/build/env/bin/hue testserver) which creates a fresh database, then I replaced corrupt database with this fresh database (cp /usr/lib/hue/desktop/desktop-test.db /var/lib/hue/desktop.db) 4- Finally, I restarted hue as root: service hue restart. I'll talk to sandbox team to make sure sandbox 2.4 image from marketplace is ok, it not, we will fix there. if it's ok, we need to find out what cause those weird issues for you.
... View more
03-22-2016
06:00 PM
1 Kudo
From phoenix docs: https://phoenix.apache.org/salted.html: "Phoenix provides a way to transparently salt the row key with a salting byte for a particular table. You need to specify this in table creation time by specifying a table property “SALT_BUCKETS” with a value from 1 to 256." Questions: - Does it mean number of region server in hbase cluster is limit to 256? - My understanding is you can have more than 256 region servers, but the "salt" will be only between 1 and 256. Is that right? Thanks. Guilherme.
... View more
Labels:
- Labels:
-
Apache Phoenix
03-16-2016
02:54 PM
@Artem Ervits, done, please check if it's clear now.
... View more
03-16-2016
02:45 AM
1 Kudo
@Sunile Manjee I tried aggregate functions with Zeppelin + Sandbox 2.4 and it worked for me. Are you using %sql interpreter, %pyspark or scala interpreter? Could you please paste full command you are trying to execute? See my screenshot with %sql example.
... View more