Find answers, ask questions, and share your expertise
Recently active
Examples : [ledapp3@leda-edge-u1-n01 ~]$ yarn logs -applicationId application_1616602302580_19604 >crash.logWARNING: YARN_OPTS has been replaced by HADOOP_OPTS. Using value of YARN_OPTS.Permission denied: user=ledapp3, access=READ_EXECUTE, inode="/tmp/logs/hive/logs/application_1616602302580_19604":hive:hadoop:drwxrwx--- [calapr01@callisto-edge-u2-n01 ~]$ yarn logs -applicationId application_1623858219829_386030 | headWARNING: YARN_OPTS has been replaced by HADOOP_OPTS. Using value of YARN_OPTS.Permission denied: user=calapr01, access=READ_EXECUTE, inode="/tmp/logs/hive/logs/application_1623858219829_386030":hive:hadoop:drwxrwx--- [gaiapr01@ganymede-edge-u2-n01 ~]$ yarn logs --applicationId application_1631641196769_7918 | headWARNING: YARN_OPTS has been replaced by HADOOP_OPTS. Using value of YARN_OPTS.21/10/01 15:23:44 INFO client.ConfiguredRMFailoverProxyProvider: Failing over to rm249Permission denied: user=gaiapr01, access=EXECUTE, inode="/tmp/logs/hive":hive:hadoop:drwx
We use the Cloudera ODBC Driver for Impala and Cloudera ODBC Driver for Hive inside a service. The service uses a DSN-less connection strings with UseKeytab to authenticate. We do not perform any ticket management, we leave this down to the ODBC driver. We have observed that connections to hive do not renew the TGT, and will reuse an existing service ticket (expected behaviour). However, Impala connections renew the TGT on every connection (thus destroying all service tickets..) Impala Service tickets never get reused and the ticket cache is always destroyed. This has to be a bug. To reproduce..Open ODBC Administrator and create a DSN connection to an Impala Server with kerberos keytab authentication.Test the connectionrun klist to show ticketsTest the connection againrun klist to show the tickets have been renewed
Hello all,I know this has been asked a lot of times before but I have not been able to resolve this issue using those fixes. I get this error twice or thrice every day. Someone please help. 3:44:45.647 PM WARN Configuration[pool-8-thread-192]: org.apache.hadoop.hive.conf.LoopingByteArrayInputStream@464eba80:an attempt to override final parameter: hive.exec.dynamic.partition.mode; Ignoring.3:44:45.647 PM WARN Configuration[pool-8-thread-192]: org.apache.hadoop.hive.conf.LoopingByteArrayInputStream@464eba80:an attempt to override final parameter: hive.compactor.initiator.on; Ignoring.3:44:45.648 PM WARN HiveConf[pool-8-thread-192]: HiveConf of name hive.sentry.conf.url does not exist3:44:45.648 PM WARN HiveConf[pool-8-thread-192]: HiveConf of name hive.enforce.bucketing does not exist Thanks,Shaban
I am attempting to enable Kerberos authentication for users, against an Active Directory based realm. I am following the model of having a MIT KDC to house Cloudera principals, and then establishing a Cross Realm Trust to the AD realm, to allow AD users to authenticate. At a purely Kerberos level, this is working fine (see the example below), however when I attempt a cluster operation that requires Kerberos authentication, I see consistent and fairly general failures. I believe I have followed the AD integration docs, with the exception of the final part around configuring name translation. I don't think I have reached the stage in authentication where this is playing a role. SITE.PRODUCT.COMPANY.ORG: Cluster KRB Realm SITE.COMPANY.ORG: Active Directory KRB Realm product.company.org: DNS domain of all cluster nodes auser: the test user account If it has any relevance, the krb5.conf configuration for the AD Realm (and wider OS level AD integration) is managed by the
I am using Scala on data science workbench and I have file with sql stataement would like to make it dynamic sql by passing argument to parameters. I then would like to pass it sqlContext.sql(string) . This is what I have tried but does not work.val FromDate = "2019-02-25"val sqlfile = fromFile("sql3.py").getLines.mkStringval result = sqlContext.sql(sqlfile)On the file I have:Select col1, col2 from table1 where transdate = '${FromDate}' Any help would be appreciated. Thanks
Hi I have installed CDP with CDH 7.1 on my servers. We want to integrate our hue with hive. Earlier it used to show "Error loading databases" after that we uncommented following portion under interpreters section of notebook section in /etc/hue/conf/hue.ini file: [[[mysql]]]name = MySQLinterface=sqlalchemy## https://docs.sqlalchemy.org/en/latest/dialects/mysql.htmloptions='{"url": "mysql://hue:mypassword@myhostnameonwhichhuedbwascreatedandhueserviceisrunning:3306/hue"}'# ## options='{"url": "mysql://${USER}:${PASSWORD}@localhost:3306/hue"}'[[[hive]]]name=Hiveinterface=hiveserver2 it started showing the databases after making above configurations but its not showing me tables and giving me the following error as shown in below screenshot:'NoneType' object has no attribute 'settimeout'Hue db was created during installation by following this link, I gave path of this db in above config file: https://docs.cloudera.com/documentation/enterprise/6/6.3/topics/install_
I have some tables in hive and I want to find the size of each table through the metastore (MySQL).I am trying the below but it returns paratition_params, notification_log, sds etc. My tables are stored in TABLES.TBLS but when I am running the below query with from information_schema.TABLES.TBLS it returns this:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '.TBLSORDER BY (DATA_LENGTH + INDEX_LENGTH) DESC LIMIT 0, 200' at line 5SELECT TABLE_NAME AS `Table`, ROUND((DATA_LENGTH + INDEX_LENGTH) / 1024 / 1024) AS `Size (MB)`FROM information_schema.TABLESORDER BY (DATA_LENGTH + INDEX_LENGTH)DESC;
Hi all I am absolute beginner in apache nifi as well as in DWH field, I want to create replica of my database table, using nifi. I am taking Mysql table data using QueryDatabaseTableRecord processor. Now I want this data to be inserted into another mysql database table which I have created. I was trying using the putSQL processor but that didn't worked I got no record inside of my table.I tried things which I could think of myself, but that was not enough. Please help me !!!Here is the screenshot of my flow,
Hello, I'm trying to use a ODBC connexion with SAP BI 4.2 app, on linux environment. Here are my settings : --------- odbc.ini file -----------------[ODBC Data Sources]Impala=Simba Impala ODBC Driver (64-bit)[Impala_TEST]Description=Simba Impala ODBC Driver (64-bit)Driver=/data/BO/sap_bobj/enterprise_xi40/linux_x64/odbc/simbaimpala/2.0/lib/libimpalaodbc_sb64.soHiveServerType=2ServiceDiscoveryMode=0Host=portalgps.idf.fr.gin.intraorangePort=443schema=defaultAuthMech=4KrbFQDN=_HOSTUID=hiveThriftTransport=2HttpPath=/knox/cdp-proxy-api/hiveServiceDiscoveryMode=0AllowSelfSignedServerCert=1UseNativeQuery=1SSL=1 AllowSelfSignedCerts=1CAIssuedCertNamesMismatch=1TrustedCerts=/data/BO/sap_bobj/enterprise_xi40/linux_x64/odbc/simbaimpala/2.0/lib/cacerts.pemTwoWaySSL=0 --------- odbcinst.ini -----------------[ODBC Drivers]Simba Impala ODBC Driver 64-bit=InstalledImpala_TEST=Installed[Simba Impala ODBC Driver 64-bit]Description=Simba Impala ODBC Driver (64-b
Hi, I am using nifi 1.14. My entire workflow has been crashed and suddenly Nifi is showing blank canvas. Is there any safe way to recover all the jobs? Please provide step by step solution. Any help in this issue will be greatly appreciated.Thank You!
Hello, everyone,I'm just starting to get to grips with NiFi and I'm developing a flow that involves taking csv files from an SFTP server and transferring them locally.The task itself seems very simple to me, I found that a viable solution would be to use ListSFTP and FetchSFTP for the purpose. My problem lies in the connection to the SFTP server and in particular in passing the 'Private Key Path' parameter. My private key is stored in a .ppk file on the virtual machine I am using, which uses UNC paths. The moment I pass the UNC path to the processor with the pointing to the .ppk file, the processor returns an alert, telling me that the file does not exist. I can't figure out if the problem is in the way I passed the path to the processor or if it's something else.The path I passed to the processor looks like this:\\computer_name\View_UserData$\user_name\Desktop\private_key.ppk In addition, I have set the Port parameter to 22, and the connection also requires a Password.Can anyone
Hi experts: We are on the version Cloudera CDH-6.3.4. When users exit from login nodes, we see the error appearing in /var/log/messages from time to time: Sep 23 15:06:37 hlog-2 cm: Process Process-10786:Sep 23 15:06:37 hlog-2 cm: Traceback (most recent call last):Sep 23 15:06:37 hlog-2 cm: File "/usr/lib64/python2.7/multiprocessing/process.py", line 258, in _bootstrapSep 23 15:06:37 hlog-2 cm: self.run()Sep 23 15:06:37 hlog-2 cm: File "/usr/lib64/python2.7/multiprocessing/process.py", line 114, in runSep 23 15:06:37 hlog-2 cm: self._target(*self._args, **self._kwargs)Sep 23 15:06:37 hlog-2 cm: File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/cmf/monitor/host/filesystem_map.py", line 27, in disk_usage_wrapperSep 23 15:06:37 hlog-2 cm: usage = psutil.disk_usage(p)Sep 23 15:06:37 hlog-2 cm: File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/psutil/__init__.py", line 1947, in disk_usageSep 23 15:06:37 hlog-2 cm: return _psplatform.disk_usage(path)Sep 23 15:06:
I am working off of a 3-node NiFi cluster and that is kicked off by a GenerateFlowfileProcessor run on the primary node, performs some NiFi processing, and then writes the files to the server that I will then run an ExecuteStreamCommand Python script on. The problem I’m running into is I can’t figure out a way to ensure that the processors picking up the first output are run on the same node as the processors that produced the first output. What is the best way to handle producing files that can be accessed by all nodes?Is there a way to specify the node for a process will be run on? (using “run on primary” is not working as the primary node cycles over the process)
Hi, I would like to create the access privileges in database and table level. So, what I had performed is: 1. Create user in hue (Manage User) a) testuser1 (non-sentry admin group), assigned under "testgroup" b) admin (Sentry-admin-group), assigned under "admingroup" 2. Grant role to the user "testuser1": create role role_test; grant all on server server1 to role role_test; grant role role_test to group testgroup; However, when login in as "testuser1" in hue, I can't see any database. And check via query "show current role" and no record is returned. Is there any steps I have missed? Thank you!
Hi Team, following the resolution thread Re: How to report NiFi lineage to Atlas I am now able to use the Atlas lib of Nifi called "ReportLineageToAtlas". I configured the settings as the following (Atlas URLs is changing day by day, after the restart of the servers) : In Kerberos Credential Service I inserted Atlas Kerberos Keytab and Atlas Kerberos Principal.The error I receive while the "ReportLineageToAtlas" is running is about Authentication to Atlas to reach the API : Indeed if I open the Atlas web URL : http://34.134.205.221:31000/api/atlas/v2/types/typedefs?name=nifi_output_port I have no data.Therefore we have two issues:1) it seems there's an authentication issue from Atlas towards Nifi API.2) it seems in the API there are no data named "nifi_output_port" (maybe because it's not yet able to authenticate?). Maybe the two issues are linked.Do you have any hints about how to fix this problem? Were am I wrong in the settings? I can pr
We have a development cluster consists of CDP 7.1.6 with Nifi 1.13.2. The enviromment is Kerberised and use Ranger for the security, and connected to the AD server through sssd service.We already setup the Flows policies on the ranger, by defining user and group that exisiting in the ranger.When we try to access the Nifi UI, for user which define on Users of Flows policies, it works properly. But when login using user that define on the Groups of Flows policies, it gives error message: “INFO [NiFi Web Server-225822] o.a.n.w.a.c.AccessDeniedExceptionMapper identity[18330301], groups[] does not have permission to access the requested resource. Unable to view the user interface. Returning Forbidden response.” Nifi could not identified this user group.Could you please give advice how to resolve this issues, so Nifi could give access to this user, which define in the Groups of Flow policies. Thank you in advance for you help.
I have installed CDSW in my cluster and created a project. But while launching the session I see the following error. I'm adding the details of 'cdsw status' here, [root@edge ~]# cdsw statusSending detailed logs to [/tmp/cdsw_status_mrI87T.log] ...CDSW Version: [1.9.1.10118148:81531c5]Installed into namespace 'default'OK: Application running as root checkOK: NFS service checkOK: System process check for CSD installOK: Sysctl params checkOK: Kernel memory slabs check-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| NAME | STATUS | CREATED-AT | VERSION | EXTERNAL-IP | OS-IMAGE | KERNEL-VERSION | GPU | STATEFUL |--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I have installed CDH on RHEL 7.9 . The cloudera installation files are located in - /opt/cloudera/ java files are in /usr/java/jdk1.8.0_181-cloudera I am trying to use apis in libhdfs.so from my application - when I launch my application through command line I get the below error - could not find method getRootCauseMessage from class (null) with signature (Ljava/lang/Throwable;)Ljava/lang/String;could not find method getStackTrace from class (null) with signature (Ljava/lang/Throwable;)Ljava/lang/String;FileSystem: loadFileSystems failed error:(unable to get root cause for java.lang.NoClassDefFoundError)(unable to get stack trace for java.lang.NoClassDefFoundError)# A fatal error has been detected by the Java Runtime Environment:# SIGSEGV (0xb) at pc=0x00007f21231904f1, pid=28247, tid=0x00007f1f5e7fc700# JRE version: Java(TM) SE Runtime Environment (8.0_181-b13) (build 1.8.0_181-b13)# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.181-b13 mixed mode linu
Hi All,I have Nifi 1.14.0 currently installed and I would like to connect this to Apache Atlas available in Cloudera Cluster.I read here Configure NiFi for Atlas Integration (cloudera.com) there should be the possibility to do this by configuring ReportLineageToAtlas task in NiFi. Unfortunately this option is missing in my NiFi installation. Do you have any hints about how to add this feature in my NiFi Centos installation? Thanks a lot for your support.Best Regards,Daniele.
We have an hdp cluster 2.6.5, hive service is installed with HA3 Hive server3 Metastores1 HiveServer2 Interactive1 WebHCat Server We are receiving "memory high usage" alerts from our monitoring tool, when i check the memory consumption on that nodes i can see that hive is consuming more than 80% of memory node When memory usage reach 98%, the hive server crash with the following error message[root@mnode4 hive]# head -n 20 hs_err_pid27508.log## There is insufficient memory for the Java Runtime Environment to continue.# Native memory allocation (mmap) failed to map 1732247552 bytes for committing reserved memory.# Possible reasons:# The system is out of physical RAM or swap space# In 32 bit mode, the process size limit was hit# Possible solutions:# Reduce memory load on the system# Increase physical memory or swap space# Check if swap backing store is full# Use 64 bit Java on a 64 bit OS# Decrease Java heap size (-Xmx/-Xms)# Decrease number of Java threads# De
What is the suggested method to extract data from SQL server to hdfs? Is there any performance advantage in using spark jdbc over sqoop import ?Also as per apache.org, apache sqoop project is retired as of June 2021, Is it better to go with the Spark approach in new ETL pipelines developments?
Dears, one of my kafka node's one of the disk is got full. Could you please suggest steps to make sure the 4 disks of my kafka node get sync in terms of disk occupancy. Ref Snapshot is below Swift response are highly appreciated
I have a cluster that uses a Postgres db with version 9.4.17 installed on a host in the cluster and I want to migrate to an external Oracle db. I have researched about the methods to do this in Cloudera documentations and I found that I have to have a Cloudera version higher than 5.15. Would it make any difference if we do the migration using Cloudera 5.13? what could be the differences between 5.13 and 5.15 in terms of db? """Configuration uses Cloudera Manager 5.15.0 or later on supported platforms."""https://docs.cloudera.com/documentation/enterprise/6/6.3/topics/cm_ag_migrate_postgres_db_to_oracle_mysql.html
Hi, I am using CFM 1.0.1.7, when I am using the remote process group to transfer file between two cluster. There is an error message "Failed to persist link of Peer due to java.io.FileNotFoundException:./conf/state/xxxxxxxxxxx_HTTP.peer (No such file or directory); If restarted and peer's NCM is down, may be unable to transfer data unitil communuication with NCM is restored. How shall I proceed with this error. The NIFI version is 1.9.0 and according to the online documentation, NCM is only avaliable for NIFI 0.X, what am I seeing this error?
I am unable to get sandbox to work without problems on my mac. I have limited memory 8 GB therefore, I installed 2.6.5 which I think may require less than the 10 GB required by 3.0.1. After I install and run the vbox .ova file, I get the url which I use to connect to Ambari dashboard. No matter what I do, I always end up with a dashboard full of red flags, and most of the services won't work. For some reason, I keep getting 502 Bad Gateway for 5-10 minutes when I try to connect to the url above, followed by the dashboard which is clearly full of issues as shown below: Let's say I want to access hive view:This is what I actually get:So, I tried appending the following to /private/etc/hosts127.0.0.1 sandbox-hdp.hortonworks.combut the problem persists and I am unable to determine what causes this weird behavior since there are too many problems.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.