Find answers, ask questions, and share your expertise
Recently active
Hi,I had some time to download and play with the latest release 2.0.0.M3 which have some major changes compared to predecessor 2.0 releases specially around introducing new UI and Color theme. Here are my preliminary observations so far:1- It was not clear to me in the release notes the following sentence: The new Apache NiFi UI is included and available at the /nf context path! So It took me little while to figure out where are the new changes because everything looked the same using regular url ending /nifi (Example: https://localhost:8443/nifi ) before realizing oh its path change in the url which is https://localhost:8443/nf , but maybe that was me because I though initially its some configuration in one of conf files like nifi.properties.2- Before figuring out the new url path (context) for the new UI, I was trying to figure out how to set the dark theme, initially I thought its the brush icon under the canvas Operate panelIt turns out its a
Hello,We have recently migrated from HDP to CDP 7.1.9 and new Knox topologies created as per Cloudera recommendations (cdp-proxy, cdp-proxy-api and cdp-proxy-token) are in place and configured. However, for some reason the topologies from HDP environment are also inherited and are visible on Knox UI, though are not active / used. Kindly advise on below points:1. Is this a normal behaviour that Knox topologies get inherited OR we missed something?2. How do we delete these unwanted topologies so they don't appear in Knox UI.3. There are some topologies that we would still need, however, few services like Ambari and Zeppelin are not needed. How do I remove these from an existing topology?Thankssnm1523
Hello,We are on CDP 7.1.7 SP1 and as per my understanding when DistCp is executed with below parameters, it does the following: 1. update: this will update the files in destination that have got modified at source2. delete: this will delete the files in destination that exist in destination but not in source. Apart feom above, it will copy over any new files at source that do not exist in destination. While copy and update is happening, it does not delete the files instead duplicates them and hence, the data count at destination is double than the source. Kindly help urgently as we are at the verge of initiating heavy data copy. Thankssnm1523
We have 3 regional intake tables partitioned by date and a client-view table partioned by date and region.is there a way to populate the client-view table with data from the 3 source tables in one atomic transaction instead of three separate insert commands:currently we do multiple insert statement like: insert into client_view_tbl( col, col2, col3...)partition(cobdate='20240915', region='region1')select col2, col2, col3... from region1_table where cobdate='20240915';insert into client_view_tbl( col, col2, col3...)partition(cobdate='20240915', region='region2')select col2, col2, col3... from region2_table where cobdate='20240915';insert into client_view_tbl( col, col2, col3...)partition(cobdate='20240915', region='region3')select col2, col2, col3... from region3_table where cobdate='20240915';
As you know, the support for RHEL7.x is approaching the end. There is an HDP3.1.5 cluster in my production environment.Is it possible to deploy the HDP 3.1.5 cluster and Ambari 2.7.5And how to solve the dependency issues that previously uses package of el7?
Hi,I am encountering a network issue with Hive where is trying to connect to a node that does not exist when trying to do a SELECT * query from either Hue or Beeline CLI:Error while compiling statement: FAILED: SemanticException Unable to determine if hdfs://ip-172-19-36-94.ap-southeast-2.compute.internal:8020/user/hive/warehouse/allowed is encrypted: org.apache.hadoop.hive.ql.metadata.HiveException: java.net.NoRouteToHostException: No Route to Host from ip-172-19-36-68/172.19.36.68 to ip-172-19-36-94.ap-southeast-2.compute.internal:8020 failed on socket timeout exception: java.net.NoRouteToHostException: No route to host; For more details see: http://wiki.apache.org/hadoop/NoRouteToHostThe node that is specified by ip-172-19-36-94.ap-southeast-2.compute.internal does not exist in the cluster or anywhere in our environment.I have been looking for the hive-site.xml and core-site.xml but there are no references to this DNS entry.I was just wondering if there was anywhere else H
On the fresh new cluster based on HDP 3.1.0 (Kerberized) I'm still facing to a problem with Spark and Hive reading. Connection via HWC is not working. When a try run hive.table("default.table1").show I'll get an error message:java.lang.RuntimeException: java.lang.RuntimeException: java.io.IOException: shadehive.org.apache.hive.service.cli.HiveSQLException: java.io.IOException: org.apache.hadoop.hive.ql.metadata.HiveException: java.io.IOException: java.lang.NullPointerException at com.hortonworks.spark.sql.hive.llap.HiveWarehouseDataSourceReader.createBatchDataReaderFactories(HiveWarehouseDataSourceReader.java:166) at org.apache.spark.sql.execution.datasources.v2.DataSourceV2ScanExec.inputRDD$lzycompute(DataSourceV2ScanExec.scala:64) at org.apache.spark.sql.execution.datasources.v2.DataSourceV2ScanExec.inputRDD(DataSourceV2ScanExec.scala:60) at org.apache.spark.sql.execution.datasources.v2.DataSourceV2ScanExec.inputRDDs(DataSourceV2ScanExec.scala:79) at org.apache.spark.sql.executi
I am using ValidateCsv 1.21.0 processor and in the documentation a property Include all violations must exist but I can't find it in the configuration. When I add it manually it is not known.What could be the reason ?
we are planning to deploy rack concept in cdh 6.3.4 clusterthe cluster is currently in the "/default" racki have some questions:1. what would be the best scenario to deploy the rack in the cluster?2. will this rack deployment cause unavailability in the cluster?3. what are the “strengths” and “weaknesses” when deploying the rack in the cluster?
Dear FriendsThe concerned Cloudera Services are: Spark 3 , Livy for Spark 3, HueAfter I have added Spark SQL interpreter in Hue I am struggling to get more than 1000 rows results once querying the DB. Do you know what parameter should be used to change the default quantity. I Already tried to use :spark.livy.sql.max-resultCM --> Livy for Spark3 --> Search for "Livy for Spark 3 Client Advanced Configuration Snippet (Safety Valve) for livy3-conf/livy-client.conf" and add the above parameter with value.spark.livy.sql.max-result=2000However after restarting the concerns services - nothing has changed. Hereunder you can see what is all about:I would like to change this limitation to e.g. 5000. But not sure on what mentioned services this should be adjusted on.I really appreciate your help in this.Thank you
Hi all, I have a cluster in CDP version 7.1.8 private cloud base. The Cloudera Management service show bad health and indicate that the connection to KDC server is not available. I can regenerate missing credentials under Administration > Security > Kerberos Credentials Moreover, I can do kinit in the CM server host. Therefore I have no idea why the connection shows failure. Please let me know if I should provide further information. Thank you.
Hi All,After starting up a Cluster that has been shutdown for some time I find that one of the Oozie servers will not stay up. It initially starts then goes down. There are two errors reported in the log file. I assume that one of them is responsible but I'm not sure which. Any help would be appreciated. The errors are:First Error:Source: PurgeXCommandMessage: <openjpa-2.2.2-r422266:1468616 fatal general error> org.apache.openjpa.persistence.PersistenceException: The column index is out of range: 3, number of columns: 2.FailedObject: select w.id, w.parentId from WorkflowJobBean w where w.endTimestamp < :endTime and w.parentId like '%C@%' [java.lang.String]Second Error:Source: CoordStatusTransitXCommandMessage: SERVER[<redacted>] USER[<redacted>] GROUP[-] TOKEN[] APP[<redacted>] JOB[0000068-201217031325641-oozie-oozi-C] ACTION[-] XException,org.apache.oozie.command.CommandException: E0606: Could not get lock [c
Hello, I am trying to connect to a remote hive cluster which requires kerberos, using spark mysql connector ```# Importsfrom pyspark.sql import SparkSession# Create SparkSessionspark = SparkSession.builder \.appName('SparkByExamples.com') \.config("spark.jars", "/Users/u530241/spark3/spark-3.3.2-bin-hadoop3/jars/mysql-connector-java-5.1.45-bin.jar").enableHiveSupport().getOrCreate() df = spark.read \.jdbc("jdbc:hive2://p-cdl-knox-prd-svc.hcscint.net:8443/default;transportMode=http;httpPath=gateway/default/hive;ssl=true;sslTrustStore=/Users/u530241/Downloads/gateway_prod_.jks;trustStorePassword=knoxprod","member_connect",properties={"user": "u530241", "password": "..", "driver":"com.mysql.jdbc.Driver"})```I keep getting this error - ```IllegalArgumentException: requirement failed: The driver could not open a JDBC connection. Check the URL: jdbc:hive2://p-cdl-knox-prd-svc.hcscint.net:8443/default;transportMode=http;httpPath=gateway/default/hive;ssl=true;sslTrust
I have a ranger policy defined under hadoop_sql plugin in ranger and I am able to access tables using hive editor but when I use impala editor and access same table am getting authorization error
I tried steps below. 1. Installed harbor. (aaa.bbb.ccc)2. Created new image use the dockerfile and command below--------FROM aaa.bbb.ccc/cloudera/cdsw/ml-runtime-jupyterlab-python3.10-standard:2023.08.2-b8 RUN apt-get update && apt-get upgrade -y && apt-get clean && rm -rf /var/lib/apt/lists/# Cloudera metadata for CMLENV ML_RUNTIME_EDITION="EDITED RUNTIME" \ML_RUNTIME_SHORT_VERSION="0.1" \ML_RUNTIME_MAINTENANCE_VERSION=1 \ML_RUNTIME_DESCRIPTION="EDITED RUNTIME to test"ENV ML_RUNTIME_FULL_VERSION="${ML_RUNTIME_SHORT_VERSION}.${ML_RUNTIME_MAINTENANCE_VERSION}"LABEL com.cloudera.ml.runtime.edition=$ML_RUNTIME_EDITION \com.cloudera.ml.runtime.full-version=$ML_RUNTIME_FULL_VERSION \com.cloudera.ml.runtime.short-version=$ML_RUNTIME_SHORT_VERSION \com.cloudera.ml.runtime.maintenance-version=$ML_RUNTIME_MAINTENANCE_VERSION \com.cloudera.ml.runtime.description=$ML_RUNTIME_DESCRIPTION---------docker build -t aaa.bbb.ccc/cloudera/cdsw/ml-runtime-jupyterlab-
Hello,I'm seeing these logs in the namenode, it seems it can't connect to the datanodes? that we have2024-04-26 14:45:21,470 DEBUG net.NetworkTopology: No node to choose.2024-04-26 14:45:21,470 DEBUG blockmanagement.BlockPlacementPolicy: Failed to choose from the next rack (location = /rack-10.128.44.130), retry choosing randomlyorg.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicy$NotEnoughReplicasException:at org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicyDefault.chooseRandom(BlockPlacementPolicyDefault.java:829)at org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicyDefault.chooseRandom(BlockPlacementPolicyDefault.java:717)at org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicyDefault.chooseFromNextRack(BlockPlacementPolicyDefault.java:660)at org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicyDefault.chooseLocalRack(BlockPlacementPolicyDefault.java:636)at org.apache.hadoop.hdfs.server.blockmanagement.BlockPlac
Hi All,I am aware once we upgrade CDP PB from x to y, we need to finalise HDFS upgrade if it is required. However, recently in the team got to know from someone who has done the upgrade that we also need to finalize Kafka upgrade along with HDFS. What needs to be done with finalising Kafka upgrade? Is it a newer thing in latest CDP version or something I have always missed on previous Kafka clusters? Haven't had a need of doing this. Thankssnm1523
Given 6 tables with identical column and all partitioned by dateNeed to get result of a union results from all 6 tablesonly if all tables have data for the given date i.e. partitionelse return nothing.
Is there a way to do something like:case when (select count(*) from table1 > 0) then (select * from table1) when (select count(*) from table2 > 0) and (select count(*) from table3 > 0) then (select * from table3)end
Hi there!I have set up Hive and added Hive Server 2 in Cloudera Manager Trial version in order to connect with beeline.Both are in green status but neither port 10000 nor 10002 are listening.The message I get from beeline is "Failed to connect to <HOST>:10000Could not open connection to the HS2 server. Please check the server URI and if the URI is correct, then ask the administrator to check the server status.Error: Could not open client transport with JDBC Uri: jdbc:hive2://<HOST>:10000/: java.net.ConnectException: Connection refused (Connection refused) (state=08S01,code=0)"Here you have the way I'm hitting beeline:beeline -u jdbc:hive2://<HOST>:10000/;principal=hive/USR@PWDor!connect jdbc:hive2://<HOST>:10000 usr pwd org.apache.hive.jdbc.HiveDriver are there some steps missing to start HS2?
Configured Knoxsso without Ambari. Knoxsso is configured with Shiro provider and updated the core-site.xml with below configshadoop.http.authentication.typehadoop.http.authentication.authentication.provider.urlhadoop.http.authentication.public.key.pemFollowed: https://knox.apache.org/books/knox-1-6-0/user-guide.html#KnoxSSO+Setup+and+ConfigurationAfter restart, NN UI is redirecting to KnoxSSO and after entering the AD credentials it is throwing below error in the UI. The redirect to originalUrl looks valid from Knoxsso url.ERROR Invalid Redirect: Possible Phishing AttemptAny help is appreciated!
Hi all, I'm looking to create a query to check and validate the math on certain fields from different tables. I've found examples where the SUM function was used- but I struggled putting it together, and am just trying to find the best way to do these calcuations.Sample data:Customer table:Customer IDMoney Spent000150000022500003100Sales table:Order IDAmount50055005006250500750Check sales math work in progress query(the query doesn't seem to work, returns a "delta" column with a {null} result:SELECTCAST(SUM(Customer.Money Spent - Sales.Amount) AS INT) AS DELTAThe desired output that I'd like:Check table Rule NameDeltaSales Check0Sales Check0Sales Check50Thanks in advance,
Hi,I want to change the flowfile content (json format) using UpdateRecord by providing property (to be change) from attribute.Here is the flowfile content here is the flowfile attribute I want to change the value of "id" in flowfile content using UpdateRecords like this : ( WHICH IS NOT WORKING ) This works but add a new property to existing flow file Here "id" got change because i provided "/id" (hardcoded property name) , i need same functionality to work with "/${col_name}" Any Pointers ... ?????Thanks,Riyaz
HI Team,I am using clouera manager to install Ranger service.Ranger UI is working and its asking Username and password , I type username & password `admin` but its showing invalid password.Pls let me know the default password for ranger to login into UI.
Hi Team, I installed atlas in CDP using cloudera manager.Atlas service is up and running but Atlas Web UI showing error.```http://104.198.54.113:31000/HTTP ERROR 503 Service UnavailableURI:STATUS:MESSAGE:SERVLET:/503Service Unavailable-Powered by Jetty:// 9.4.39.v20210325```
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.