Member since
07-09-2016
83
Posts
17
Kudos Received
2
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
1292 | 12-08-2016 06:46 AM | |
2277 | 12-08-2016 06:46 AM |
12-16-2016
10:12 PM
I cannot get the following query run using PutHiveQL processor, it fails with the permission denied exception. I see that the processor emulates the same behavior as in Beeline. But, I have been able to run the query from Hive CLI and writes to a file as expected. So, we know that Hive shell is an option, but can you let me know if there is any specific settings that causes this behavior in Beeline (Hive2) preventing to write to local filesystem? insert overwrite local directory '/tmp' select current_date from dual Error: Error while compiling statement: FAILED: HiveAccessControlException Permission denied: user [xxxxx] does not have [WRITE] privilege on [/tmp] (state=42000,code=40000)
... View more
Labels:
- Labels:
-
Apache Hive
-
Apache NiFi
12-16-2016
03:28 AM
For a simple reflect function as below which works in HIVE shell, cannot be executed through PutHiveQL processor. Do you know if this is an expected behavior? SELECT reflect("java.util.UUID", "nameUUIDFromBytes", "test") from dual
... View more
Labels:
- Labels:
-
Apache Hive
-
Apache NiFi
12-15-2016
06:50 PM
I have a process group and from the input port, I just could not link to the ExecuteProcess processor. Can you please advise on any specific reason for that?
... View more
Labels:
- Labels:
-
Apache NiFi
12-15-2016
06:47 PM
Thanks, that appears to be relatively simple change. I will give a try
... View more
12-15-2016
06:46 PM
The only option with Avro available is to split into JSON, but there on any thoughts on how that can be emitted in to a delimited format?
... View more
12-15-2016
12:47 AM
After querying from Hive, I wanted to write into a file with a custom delimiter say |, is there a way to achieve that? I cannot use Replacetext to replace, with the custom delimiter as the column values may have comma in it. One other option I see is have query producing single string with custom delimiter. But it encloses the column values with the double quotes for the string type columns and that voids the required fileformat.
... View more
Labels:
- Labels:
-
Apache NiFi
12-12-2016
08:32 AM
1 Kudo
How to achieve the following with inbuilt UDF in Hive? 1 35 2 22 3 45 4 64 To 1 2 3 4 35 22 45 64
... View more
Labels:
- Labels:
-
Apache Hive
12-10-2016
07:17 AM
1 Kudo
So, splitting to two separate processor with the same relationship "success" say from FetchFile processor, does the flowfile content gets replicated? It appears that it is true, as I observed the uuid values are different when compared between the two. Is it safe to assume the changes to flowfile content on one flow (even on one end it gets discarded) would not have any impact to the other?
... View more
Labels:
- Labels:
-
Apache NiFi
12-09-2016
05:33 AM
1 Kudo
I have an external table with the keyword timestamp as one of the column name. Unlike hive shell that provides option to turnoff keyword validation like below, is there a way to execute the SELECT query in the above processor? set
hive.support.sql11.reserved.keywords=false; I get the following error if I try to execute the query through the SelectHiveQL processor Failed to recognize predicate 'timestamp'. Failed rule: 'identifier' in table or column identifier
... View more
Labels:
- Labels:
-
Apache Hive
-
Apache NiFi