Find answers, ask questions, and share your expertise
Recently active
Hi, I am facing an issue while running ranger user sync. It's able to sync groups but not users. I am not getting any errors also.
Hello all, We are facing an issue in viewing YARN logs from Resource Manager UI. We have two HDP clusters. Cluster1 and Cluster2 have similar configurations. Cluster1 has no problem but getting the unauthorized issue from Cluster2 for viewing the YARN logs. Cluster1 (the good one) has the below configurations.yarn.acl.enable=trueyarn.admin.acl=yarn,user1 admingroup1,admingroup2 Cluser2 (the bad one) has the below configurations.yarn.acl.enable=trueyarn.admin.acl=dr.who,user1,yarn admingroup2 Please note there are users in admingroup2 who want to view the YARN logs but not able to do so on Cluster2. It shows as below. Please share if there are more things to check? Thank you for the help.
Under Nifi UI, component toolbar is inactive . I have given all the permission under ranger for process groups . I don't have login issues but cant select any processers once I login .
I am trying to learn flume and for this I am creating some rows to ingest. I have a row like"ted";"27";"hi, i am good; you?";"ok"With the delimiter as ; it separates me also the hi, i am good you? I want only to change field when the ; has a " next to it. Is this possible?
Hello,I am trying to use nifi toolkit cli to list the bucket in Nifi registry using below command -/usr/hdf/3.4.1.1-4/nifi-toolkit/bin/cli.sh registry list-buckets -u http://<ip>:<port>But getting below error :/usr/hdf/3.4.1.1-4/nifi-toolkit$ /usr/hdf/3.4.1.1-4/nifi-toolkit/bin/cli.sh registry list-buckets -u http://<ip>:<port>cli.sh: JAVA_HOME not set; results may varyException in thread "main" java.lang.NoClassDefFoundError: javax/annotation/Priority at org.glassfish.jersey.model.internal.ComponentBag.modelFor(ComponentBag.java:551) at org.glassfish.jersey.model.internal.ComponentBag.lambda$registerModel$10(ComponentBag.java:477) at org.glassfish.jersey.internal.Errors.process(Errors.java:316) at org.glassfish.jersey.internal.Errors.process(Errors.java:298) at org.glassfish.jersey.internal.Errors.process(Errors.java:229)&n
I am trying to load data from the below input to db. My input is as shown below i, John, $100 ii, Kevin, $150 iii, Steve, $200 Created getfile, ReplaceAttributes, Extracttext, Route to attributes, putsql flow I have managed to parse fixed width file records and replaced with comma delimited values. ExtractText processor with Enable Multiline Mode=true, Enable DOTALL Mode=true. After execution I see below in provenance event in attributes tab line i line.0 John line.1 $100 Please advise how to load other two records which was not getting displayed in the attributes.
Hello,I struggle on a dependency issues in spark, now. Being new in spark, I hope there is a simple remedy.The question is, is there any mechanism how to separate dependencies of the spark engine and dependencies of a application. Example: The latest version of spark-core_2.12 (3.1.1, March 2021) depends onhadoop-client (3.3.0, March 2020) which itself depends on hadoop-common (3.3.0, July 2020)which finally depends on an antient version of gson (2.2.4, May 2013).You can easily find many other examples, e.g. commons-codec, protobuf-java ... So, what if your application, basically a library developed outside spark, depends on the latest (no longer compatible) version of gson 2.8.6?My obviously naive approach to start a spark application ends in runtime incompatibility clashes (e.g. with gson) Best regardsJaro
I am trying to stop the VM VirtualBox to be able to change the base memory but it is still greyed out. Can i enable the change please? Thank you
Hello I trying to put some data from my CSV to my database but i got some error. Settings UpdateRecord Settings about CSVRecordSetWriter My csv file:RegionCountryItemTypeSalesChannelOrderPriorityOrderDateOrderIDShipDateUnitsSoldUnitPriceUnitCostTotalRevenueTotalCostTotalProfitSub-Saharan AfricaChadOffice SuppliesOnlineL1/27/201129249452302/12/20114484651.21524.962920025.642353920.64566105.00EuropeLatviaBeveragesOnlineC12/28/20153618255491/23/2016107547.4531.7951008.7534174.2516834.50Middle East and North AfricaPakistanVegetablesOfflineC1/13/201114151576702/01/20116515154.0690.931003700.90592408.95411291.95Sub-Saharan AfricaDemocratic Republic of the CongoHouseholdOnlineC09/11/201250036400510/06/20127683668.27502.545134318.413861014.821273303.59EuropeCzech RepublicBeveragesOnlineC10/27/201512748159112/05/2015349147.4531.79165647.95110978.8954669.06
Hi,I have SiteToSiteBulletinReportingTask setup to capture bulletin information for a standalone secure nifi instance. the reporting task is pointing to an input port as expected but when I start the task it doesnt work and it keeps giving this warning:SiteToSiteBulletinReportingTask[id=e99b03f1-0173-1000-c7ef-4e475ed2416d] org.apache.nifi.remote.client.PeerSelector@24677b11 Unable to refresh Remote Group's peers due to response code 403:Forbidden with explanation: null"The reporting task is setup as follows: The SSL context service is setup with the same values for the keystore and truststore as in the nifi.properties file which is working to secure my instance. I have added the policy "receive data via site-to-site" to the input port "S2S_Bulletins_rec" . The user created by securing the instance has the policy "retrieve site-to-site details". The error doesn't give much details. Can you please help? Thank you.
Good morning everybody, I have the following scenario of returning an API through two streams =Flow 1 ({"cod": 1}{"cod": 2}{"cod": 3}) Flow 2 ({"error": "error 1"}{"error": "error 2"}{"error": "error 3"}) Each error has its cod and I need to send it to my database in this way through a procedure through "ExecuteSQL" =procedure (cod => '$ {cod}', error => '$ {error}'); I am trying to do this through "MergeContent" but it is not working. What Nifi is doing is as follows ={"cod": 1} {"cod": 2} {"cod": 3} {"error": "error 1"} {"error": "error 2"} {"error": "error 3" } Not dividing the shipments by code, let's say and passing to "ExecuteSQL" all at once, when Cod + Error would have to be sent one at a time. Follow all my flow = This is my "MergeContent" = This is my "ExecuteSQL" = Can someone help me?
I am building a log analysis planform to monitor spark jobs on a yarn cluster and I want to get a clear idea about spark/yarn logging. I have searched a lot about this and these are the confusions I have.The directory specified in spark.eventLog.dir or spark.history.fs.logDirectory get stored all the application master logs and through log4j.properties in spark conf we can customize those logs ?In default all data nodes output their executor logs to a folder in /var/log/. with log-aggregation enabled you can get those executer logs to the spark.eventLog.dir location as well?I've managed to set up a 3 node virtual hadoop yarn cluster, spark installed in the master node. When I'm running spark in client mode I'm thinking this node becomes the application master node. I'm a beginner to Big data and appreciate any effort to help me out with these confusions.
Good afternoon, I am using the "RouteOnAttribute" processor to do a loop validating a condition that is as follows = ${cont:lt(${CONTADOR})} But I am not able to make the processor understand the property "CONTADOR" Could you help me please?
NIFI 1.13.2 has nodes randomly restarting with connections refused.cluster information12 nodes 8 cores 32 gb rambootstrap.confjava=javarun.as=lib.dir=./libconf.dir=./confgraceful.shutdown.seconds=20java.arg.1=-Dorg.apache.jasper.compiler.disablejsr199=truejava.arg.2=-Xms28gjava.arg.3=-Xmx28gjava.arg.4=-Djava.net.preferIPv4Stack=truejava.arg.5=-Dsun.net.http.allowRestrictedHeaders=truejava.arg.6=-Djava.protocol.handler.pkgs=sun.net.www.protocoljava.arg.7=-XX:ReservedCodeCacheSize=256mjava.arg.8=-XX:CodeCacheMinimumFreeSpace=10mjava.arg.9=-XX:+UseCodeCacheFlushingjava.arg.14=-Djava.awt.headless=truenifi.bootstrap.sensitive.key=java.arg.15=-Djava.security.egd=file:/dev/urandomjava.arg.16=-Djavax.security.auth.useSubjectCredsOnly=truejava.arg.17=-Dzookeeper.admin.enableServer=falsejava.arg.snappy=-Dorg.xerial.snappy.tempdir=/opt/nifi/tmpnotification.services.file=./conf/bootstrap-notification-services.xmlnotification.max.attempts=5# cluster node properties (only configure for cluster nodes
Is there any way to integrate ambari Grafana with ldap or Integrate Garafana with ranger for access control?Ambari version -2.75HDF -3.5
Hey I need to find the yarn logs on the local disk. Where I can find the logs ? Also can I see the log id manually in log files?
Good afternoon everyone, I have a problem with my flow in the processor "JoltTransformJSON" when I run the processor "ExecuteSQL" and no Oracle record returns to me. I would like your help to know what to do in this case. Thank you so much.
Hi, We have scenario to read file feed containing different data schema for lines and then write to multiple tables. We are trying to setup error handling and consolidated all success and failure count for different types of data. our data flow is almost as follows,getFile -> splitText -> RouteText -> ConvertToJson -> JsonToSql -> PutSql Can you please help with some suggestion. Thanks in advance. Regards,Rahul
Current setup, there are 2 computer machine1) First machine (IP of 192.168.4.1)It contain the NiFi setup as show in the image below:Inside the NiFi setup, I get a file from a local directory and I invoke a HTTP POST to send over to the second machine which hit the Wildfly Restful Webservice endpoint. Below image show the configuration I have done inside the Invoke HTTP: (Note: the Remote URL: http://192.168.3.1:8081/JaxRS-Nifi/restapi/multipart/upload ) 2) Second machine (IP of 192.168.3.1) It contain a Wildfly Restful Webservice which allow my first machine to hit the webservice endpoint.Error that I am facing: I have a problem which the first machines doesn't send a HTTP POST over to the Second machines. I am currently looking for solutions on what are the different configurations should I do to make a NiFi HTTP over to hit the Restful Webservice endpoint? Thanks. Appreciate if there is anyone who can help me.
Since yesterday afternoon, i am not able to access internet in cloudera (Oracle VM ). I keep getting errorsCloudera: Firefox can't establish a connection to the server at localhost:8889Two days ago things were working fine. and I don't think it is an internet problem on my end since i have been using it all day. Any idea? Thanks
Hello, We have a strange issue here. We are on CDH 6.3.0 and have sentry in place for authorizations. A user is trying to execute queries from Hue on Impala Editor and fails with Authorization errors. However, same query works fine via Hive and also via Impala shell. It fails only from Hue editor. We have:1. Refreshed metadata2. Invalidated metadata3. Verified permissions are in place in Sentry4. There are no logs generated (I checked in Hue, Sentry Server and Catalog server). Please suggest if any other place should also be checked. Example query:select * from DB.table limit 5; Kindly help to diagnose and resolve this issue. ThanksSnm1523
I am trying to connect Hive from spark with JDBC connection. While I use spark-submit option from terminal, it's completed successfully. But from Oozie workflow it's showing ERROR Unable to read HiveServer2 configs from ZooKeeper Here is my code snippet val sparkSession: SparkSession = SparkSession .builder().appName("Spark hive" ) .getOrCreate() val jdbcUrl = "jdbc:hive2://master1.cloudera.com:2181," + "master2.cloudera.com:2181,master3.cloudera.com:2181/default;" + "serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2" val driverClass = "org.apache.hive.jdbc.HiveDriver" try { val cls = Class.forName(driverClass) println(cls.getName) } catch { case e: Throwable => e.printStackTrace() } val connection = DriverManager.getConnection(jdbcUrl, null,null) println(connection.isClosed) val statement: Statement = connection.createStatement() val table = "default.external_tab" val sql = "SELECT * FROM " + table
Hello,Can any one please help me understand that is CDH still is an open source Hadoop distributed platform offered by Cloudera as of 12th May 2021.Challenges faced : I am legacy customer of CDH 6.0.0 open source for about an year. If CDH is going away from open source to subscriptions, what does that mean for legacy customers [Patch fix, bugs, small upgrades] ?Note, The Official home page of CDH still calls CDH platform to be 100% open source but when we go to Downloads for upgraded versions, it's asking for subscription. You guys really need to update the documentations for customers.https://www.cloudera.com/products/open-source/apache-hadoop/key-cdh-components.html
Hi experts,I was wondering if there is a place where it shows the enhancements between each hadoop component such as hadoop, yarn, hive, hbase, etc. So I am trying to find a reason to upgrade our hadoop clusters or wait for a newer version to come out. Any help is much appreciated. Thanks,
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.