Find answers, ask questions, and share your expertise
Recently active
Hi Team,I am trying to use FairScheduler in HDP 3.0.1. As per https://stackoverflow.com/questions/38208845/switching-from-capacity-scheduler-to-fair-scheduler-on-hortonworks-data-platform it seems to be possible in HDP 3.0. I have changed the schedule claa and set yarn.scheduler.fair.allocation.file in custom yarn-site in ambari (screenshot attached). But when I restart ResourceManager it is failing with below error.2020-01-02 16:21:54,134 INFO fair.AllocationFileLoaderService (AllocationFileLoaderService.java:reloadAllocations(230)) - Loading allocation file file:/etc/hadoop/conf/fair-scheduler.xml2020-01-02 16:21:54,221 INFO monitor.SchedulingMonitor (SchedulingMonitor.java:serviceInit(60)) - Initializing SchedulingMonitor=SchedulingMonitor (ProportionalCapacityPreemptionPolicy)2020-01-02 16:21:54,221 INFO capacity.ProportionalCapacityPreemptionPolicy (ProportionalCapacityPreemptionPolicy.java:init(160)) - Preemption monitor:org.apache.hadoop.yarn.server.resourcemanage
Hello I encountered the error below on nifi after an upgrade, please help to solve it PutSQL[id=11f8203a-164b-1df4-47b3-137747566249] Failed to process session due to java.sql.SQLException: Cannot create PoolableConnectionFactory (ORA-01034: ORACLE not availableORA-27101: shared memory realm does not existLinux-x86_64 Error: 2: No such file or directory): org.apache.nifi.processor.exception.ProcessException: java.sql.SQLException: Cannot create PoolableConnectionFactory (ORA-01034: ORACLE not availableORA-27101: shared memory realm does not existLinux-x86_64 Error: 2: No such file or directory)
I built Spark2 with CDH 5.16 and able to submit scala jobs with no issues. Now I am able to launch pyspark2 and when I am trying to run simple job, its throwing the below error? can you please suggest on this? what is the alternate to submit python jobs on spark jobs apart from Jupyter notebook? Pls advise [I 23:08:33.864 NotebookApp] Adapting to protocol v5.1 for kernel f8d7200b-6718-49f6-86e9-c051fb6d84a6 [Stage 0:> (0 + 0) / 2]Exception in thread "dispatcher-event-loop-0" java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:3236) at java.io.ByteArrayOutputStream.grow(ByteArrayOutputStream.java:118) at java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.java:93) at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:153)
I have installed the HDP sandbox HDP-3.0.1.0 (3.0.1.0-187) using Docker and Kerberized the cluster. I also spinned up an LDAP server and setup User- and Group-sync with Ranger. Finally I have also set HDFS advanced core-site configuration. I can run an ldapsearch succesfully. However hdfs groups doesn't seem to work. I really have no idea on where to look from here. Any help would be greatly appreciated.
Hello Community,I want to decommission an entire cluster, so I went looking around for any documentation that mentions any recommended procedure to follow but couldn't find any. Hence, i turned towards the community, if anyone here have decommissioned a kerberized and sentry-enabled cluster and can advice me on any best practices I can follow.I think it is worth mentioning that our cluster is created using Cloudera Altus Director. Thank you,Snehasish
So I have had this issue for a quite long time so far, and it's been really challenging. So, on one of the servers (secondary namenode) of a 12 node development cluster, the heartbeat is being sent and received. The IDs of each heartbeat request are incremental, which I believe means it's working fine from ambari-agent aspect. I have SNameNode, HiveServer and other services on that server, and whenever I try to start any of them I get this directly from Ambari UI Caught an exception while executing custom service command: <type 'exceptions.KeyError'>: 'Host_Level_Params for cluster_id=2 is missing. Check if server sent it.'; 'Host_Level_Params for cluster_id=2 is missing. Check if server sent it.' I'm not able to start no slave or master services on that server AT ALL. I don't see anything in the logs to be honest that could point me to a direction. Few information of the environment:1- Redhat 7.7 servers2- Latest JDK 8 2313- HDP 3.
As the title explains, we have moved our cluster from `taco.net` to `dev.taco.net`, and in the process this has made our Cloudera Manager server unable to start up because it continues to try to connect to database.taco.net instead of database.dev.taco.net. Hosts files are updated on all servers, network interfaces are configured to their new IPs.I would imagine there is something I should update on the Cloudera Manager server, but I'm not sure where to look to update the URL.
We have installed Spark2 in HDP 3.1 but when we are trying to access spark2 history server UI,we are getting below issue. HTTP ERROR 403Problem accessing /. Reason:java.lang.IllegalArgumentException log: spark-spark-org.apache.spark.deploy.history.HistoryServer-1-xxxxxx.visa.com.out 19/08/28 13:01:21 DEBUG AuthenticationFilter: Request [http://xxxxxxxx:18081/favicon.ico] triggering authentication. handler: class org.apache.hadoop.security.authentication.server.KerberosAuthenticationHandler19/08/28 13:01:21 DEBUG AuthenticationFilter: Authentication exception: java.lang.IllegalArgumentExceptionorg.apache.hadoop.security.authentication.client.AuthenticationException: java.lang.IllegalArgumentException at org.apache.hadoop.security.authentication.server.KerberosAuthenticationHandler.authenticate(KerberosAuthenticationHandler.java:306) at org.apache.hadoop.security.authentication.server.AuthenticationFilter.doFilter(AuthenticationFilter.java:536) at org.
I wanted to try with Nifi registry on Ubuntu today, but it failed to start. Nifi works well on the same machine. NiFi registry version is 0.5Java version is 13.0.1 The error log is below:2020-01-04 09:08:45,023 ERROR [main] o.springframework.boot.SpringApplication Application run failedjava.lang.IllegalStateException: Cannot load configuration class: org.apache.nifi.registry.security.authorization.AuthorizerFactoryat org.springframework.context.annotation.ConfigurationClassPostProcessor.enhanceConfigurationClasses(ConfigurationClassPostProcessor.java:413)....Caused by: javax.xml.bind.JAXBException: Implementation of JAXB-API has not been found on module path or classpath.at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:177)at javax.xml.bind.ContextFinder.find(ContextFinder.java:364)at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:508)at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:465)at org.apache.nifi.registry.security.authorization.Author
Hi Guys, I got a request to copy one of the large hive external table that has 72883 partitions from one database to another database. I am new to the Hive database so I need your help in copying that table. I have done the following steps so far and not sure about next step. Do I need to add those 72883 partitions manually or is there another way to add those partitions to the target table. Your early response is very much appreciated. Steps: 1. created the external table in new databases with the same definition of the source table,but with different location. 2. Copy the CSV files of source table location to target table location. Regards ~Suresh D
Hello I try to install CDM 6.3.1~1466458.ubuntu1804 on a server A to handle installation of HBASE on a server B. But I have a problem during the step "Install Agents". I have found some post on the forum which speak about NOPASSWD to add into the sudoers file of the server B, but in my case I can established a ssh connexion from the server A to the server B in command line and run a sudo command without any password, so I think my servers was correctly configured. Does anyone can help me ?
I have created new notebook in zeppelin but unable to open it. can some one can help on this. Attaching the screenshot
Hi,I Have a hadoop cluster 3.0.1 with 3 journalnodes, 1 nfsgateways node and 6 workernodes. I connected by ssh to the worker nodes today and realised by doing a "df -h" that one a the one local disk (/data/4) is around 94% used on every worker nodes whereas the others disk are between 50% and 65%... The HDFS status on the another hand is the following:Disk Usage (DFS Used) 44.77% 28.1 TB / 62.8 TBDisk Usage (Non DFS Used) 14.97% 9.4 TB / 62.8 TBDisk Remaining 40.26% 25.3 TB / 62.8 TB What are the the elements i should check to make sure that a full local disk won't create any issue?
Hi, I would like to route flow files based on a column's value of a csv file. i have splitted a csv file into many csv files with the content: header and 1 row of the dataframe. so if the inital csv file consisted of 50 rows i will have 50 new csv files. i did this with the SplitRecord processor and a csv-reader/writer. The i have a UpdateAttribute processor to a UUID to these 50 files. Now, i would like to route those files based on a column's value. is this possible? Let's say column number 5 has got numeric values and want to route all flow files with a value bigger than 50. How can i achieve that? Thank you in advance for your help and advice
HiI've installed Apache NiFi through Apache Ambari on my HDP: Stack and Versions->Stack->Install... All configuration while installation I left to defaults. Installation was successful, however I was not able to access "http://sandbox-hdp.hortonworks.com:9090/nifi" out of box. So I added: server {listen 9090;server_name sandbox-hdp.hortonworks.com;location / {proxy_pass http://sandbox-hdp:9090;}} to my "HDP_3.0.1_docker-deploy-scripts_18120587fc7fb\sandbox\proxy\conf.d\http-hdp.conf" file and it started working properly. However now I have a problem when trying to change process configuration: when I click on Configure in process drop-down, I'm redirected to page with text "Please ensure the application is running and check the logs for any errors." In network I can see failed request to "http://sandbox-hdp:9090/nifi-api/processors/23ae900c-016f-1000-ffff-ffff8d289282". Any ideas how it can be fixed? Thanks
I was installing HDF cluster with an existing HDP cluster, the deploy option turned red and an error message arrived it says "If NiFi Certificate Authority is used, nifi.toolkit.tls.token must be set" "This is a token that will be used by the NiFi Certificate Authority to verify the identity of NiFi nodes before issuing them certificates and by the NiFi nodes to verify the identity of the NiFi Certificate Authority. If relying on NiFi Certificate Authority, set this to a long, random value. For security purposes, password changes will not be shown in configuration version comparisons" Help me fix this issue
I am a new NiFi and MongoDB user. I'm attempting to create an ingest process that first accepts a JSON file that will provide the information about a project (project submission id, project name, project submittor, project attachments (array of documents). I am able to parse the JSON information until I get to the array of project attachments. The project attachments field is an array with the name of one or more project documents (ex: attachment1.docx, attachment2.ppt, etc). The end goal is to put each project submission in MongoDB as a document. The project attachments field must be an array so I can reference them later when parsing the metadata from each of the attachment files. I want to be able to nest the metadata for each attachment to correspond to each attachment file in the array. So far, I am the problem I am running into is that the final project attachments array somehow becomes a string instead of an array after passing through the AttributesToJSON processor
Hello, I would like to change my company information in my support profile. Could anyone help me? Thanks a lot!
Aloha. After a recent server migration, all of the hostnames on our cluster got a slight modification. After getting the Cloudera Manager Server to connect to it's required database correctly, it still wants to connect to the old hostnames for everything else in the cluster. Everything is already configured for them to work together, so it should be as simple as updating the URL to connect to the hostname (rather than reinstalling cloudera-scm-agent, etc). Is there a way to do this from within Cloudera Manager?How?
Hello, I'm trying to pull data from twitter and push it to elasticsearch using nifi. I managed to download and run both of them. Do I need to have the Hortons sandbox installed too? Are there any software or packages I need to have them too? I will really appreciate if anyone has tutorials or links on how to do it on ubuntu.
hi!, i ve been trying to download Hortonworks Sandbox but i m unable to do so. when ever i click on the download button it redirects me back to main download page.whenever i click on the download now button on the below link for HDP:https://www.cloudera.com/downloads/hortonworks-sandbox.htmlit redirects me back to the below page:https://www.cloudera.com/downloads.html i have been facing this issue since past week. i ll be grateful for help.
nifi registry security - able to login with certs but not getting login page when canceling certs updated login-identity-provider.xml as below not sure what is missing <identityProviders><provider><identifier>ldap-provider</identifier><class>org.apache.nifi.registry.security.ldap.LdapIdentityProvider</class><property name="Authentication Strategy">SIMPLE</property><property name="Manager DN">xxxxxxxx</property><property name="Manager Password">>xxxxxxxx</property><property name="TLS - Keystore"></property><property name="TLS - Keystore Password"></property><property name="TLS - Keystore Type"></property><property name="TLS - Truststore"></property><property name="TLS - Truststore Password"></property><property name="TLS - Truststore Type"></property><property name="TLS - Client Auth"></property><property nam
I'm using CDH 6.2.0. and I found the version of Hive is 2.1.1. What I want is to upgrade Hive to 3.0 and keep all the Hive data (keep the metastore is enough?), but I can't find any document for upgrading hive in CDH? Is there any document or tutorial for that? Thanks a lot. Kind regards.
Hi, I am working on one of the Kafka use-cases in my project, where the scenario is as follows:Step 1: I have to update records of a table (lets say CUSTOMER) in web portal Step 2: A Spark Streaming job will be running which will capture the DES (Data Event Streaming) eventId related to the above. Step 3: It will connect to the Broker at port 9092, pull the messages, process them and put them as records in one of RDBMS table. This entire scenario is being executed in Spark Cluster setup in-side Kubernetes. The same job is running perfectly fine outside Kubernetes. But, inside Kubernetes, although the job is able to connect to Broker at port 9092 without any issues, it's not reading any real-time events and I am getting a loop of the below messages: 19/12/23 16:00:00.180 DEBUG Fetcher: [Consumer clientId=consumer-1, groupId=test] Added READ_UNCOMMITTED fetch request for partition table-update-0 at offset 102 t
Hi Here, I would like to ask for help on how to upgrade Hive from v.2.1 to v.3.x?Or is it possible to upgrade it manually?Currenty on latest CDH 6.2. Already saw this references;https://www.cloudera.com/documentation/enterprise/latest/topics/hive_install_upgrade_intro.html#hive_guide_install_upgrade_introhttps://www.cloudera.com/documentation/enterprise/6/release-notes/topics/rg_cdh_62_packaging.html#cdh_packaging_60x
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.