Member since
06-26-2015
515
Posts
140
Kudos Received
114
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 2586 | 09-20-2022 03:33 PM | |
| 6988 | 09-19-2022 04:47 PM | |
| 3691 | 09-11-2022 05:01 PM | |
| 4304 | 09-06-2022 02:23 PM | |
| 6817 | 09-06-2022 04:30 AM |
04-20-2022
10:27 PM
@Seaport , Please try the below: import json
def jsonize(k, v):
ret = json.loads(v)
ret.update({'key': k})
return ret
...
rdd = reader.map(lambda x: jsonize(*x))
... You need to make sure your schema includes the added key column. Cheers, André
... View more
04-08-2022
05:03 AM
@modususer , After installation, log on to Cloudera Manager and select Administration > License to go to the license page. Upload your license file on that page to activate it. If you want/need to apply the license from the command line, you can do so using the REST API. The curl command below is an example of how you can do that: curl \
-X POST \
-u admin:admin \
"http://cm-home.example.com:7180/api/v43/cm/license" \
-F license=@/path/to/license.txt Cheers, André
... View more
04-08-2022
04:43 AM
@ep_gunner , You can download the NAR from here: https://repo1.maven.org/maven2/org/apache/nifi/nifi-sql-reporting-nar/1.16.0/ Make sure you get the one that matches your NiFi version. Cheers, André
... View more
04-08-2022
04:38 AM
1 Kudo
@furkanaykut , THat's an indication that the resources configured for YARN are already in use somewhere else. The containers are pending because there's not enough resources to run all the containers at once and they have to wait for others to finish. Cheers, André
... View more
04-08-2022
04:17 AM
@ravi_tadepally , Is your RabbitMQ configured to require TLS Mutual Authentication (or Client Authentication)? If so, you must also provide a keystore in the SSL Context in NiFi, besides the truststore. Cheers, André
... View more
04-01-2022
07:28 PM
@Rohan44 , Unfortunately, I don't think there's a way to do that. What are you using to write the files to HDFS? Cheers, André
... View more
04-01-2022
03:13 AM
@Rohan44 , Try creating your datafile with each JSON record in a single line, like so: {"buyer":{"legalBusinessName":"test1 Company","organisationIdentifications":[{"type":"abcd","identification":"test.bb@tesr"},{"type":"TXID","identification":"12345678"}]},"supplier":{"legalBusinessName":"test Company","organisationIdentifications":[{"type":"abcd","identification":"test28@test"}]},"paymentRecommendationId":"1234-5678-9876-2212-123456","excludedRemittanceInformation":[],"recommendedPaymentInstructions":[{"executionDate":"2022-06-12","paymentMethod":"aaaa","remittanceInformation":{"structured":[{"referredDocumentInformation":[{"type":"xxx","number":"12341234","relatedDate":"2022-06-12","paymentDueDate":"2022-06-12","referredDocumentAmount":{"remittedAmount":2600.5,"duePayableAmount":3000}}]}]}}]} Cheers, André
... View more
03-31-2022
09:54 PM
Which log file are those errors coming from? André
... View more
03-31-2022
06:39 PM
Also this: namei -l /run/cloudera-scm-agent/process/9295-yarn-RESOURCEMANAGER/creds.localjceks
... View more
03-31-2022
06:38 PM
@iamfromsky , Could you please share the output of this command: ls -ln /run/cloudera-scm-agent/process/9295-yarn-RESOURCEMANAGER/creds.localjceks Cheers, André
... View more