Find answers, ask questions, and share your expertise
Recently active
I configured the hbase thrift server role in order to query data from Hue. After the server is restarted, I tried to query from Hue and got connection error. I looked at hbase thrift log file from /var/log/hbase/hbase-cmf-hbase-HBASETHRIFTSERVER-hostname.log.out and found this error: 2019-01-10 18:19:14,257 INFO org.apache.hadoop.hbase.thrift.ThriftServerRunner: starting TBoundedThreadPoolServer on /0.0.0.0:9090 with readTimeout 60000ms; min worker threads=200, max worker threads=1000, max queued requests=1000 2019-01-10 18:19:46,303 ERROR org.apache.hadoop.hbase.thrift.TBoundedThreadPoolServer: Thrift error occurred during processing of message. org.apache.thrift.protocol.TProtocolException: Expected protocol id ffffff82 but got ffffff80 at org.apache.thrift.protocol.TCompactProtocol.readMessageBegin(TCompactProtocol.java:503) at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:27) at org.apache.hadoop.hbase.thrift.TBoundedThreadPoolServer$ClientConnnection.run(TBoundedThr
Good evening. We are trying out the SDX Managed Namespace (Beta) with the Data Warehouse cluster and noticed that when we try to use CDH 5.15, we get the following message: "A secure environment must be used with Managed Namespace clusters on CDH515 or later." Understanding that the SDX Managed Namespace is still in beta, any idea why we might be getting that? It seems to work with CDH 5.14, but we wanted to test out the new Query Editor which looks to only support CDH 5.15. Thanks in advance. Mac
I am new to Apache atlas and I want to create Table and column level linage. I understood that linage can be created with the entity only using process. For a test purpose I have created custom types and entities under that type.Now I want to show linage for Table and column relations. For Example. - Table 1. Employee Columns : Employee_ID, Employee_Name, Employee_AddressTable 2: DepartmentColumns: Employee_ID, Department_Name, Department_CodeI want to create Employee Table as an Entity and Columns of Employee Table as an Entities too. but columns will go as an attribute of Employee Table entity so i can create linage between Tables and Columns using Process. Same for the Department table.Once it is created then I can create linage for Employee---->Process---->Department and also Employee.Employee_ID----->Process---->Department.Department_NamePlease advice. Is it possible?
Hi, currently I'm dealing with the DistributedMapCache-thing... Found this article which gave me an idea of all this, great! https://community.hortonworks.com/articles/71837/working-with-a-nifi-distributedmapcache.htmlNow I try to involve DistributedMapCache (DMC) in my NiFi-Flow without executing the script. Found old questions here but maybe in 1.7 or 1.8 there are new possibilities? Referring to above article, how can I in NiFi... 1. remove a concrete key (like command "remove")? 2. receive a list of existing keys (like command "keys"), maybe inclusive there values? Further questions: 3. How can I clear all content of the DMC at once? Tested to disable the Controller Service for DMC-Server, but after enabeling data still existing. 4. In practice if one wants to use different tables in DMC would they all be in one DMC? Or would I configure DMC-Server and DMC-ClientService for each table? 5. At the moment I work at local installation. Is all this DMC-thing working without difficulty o
hi allwe have HDP version - 2.6.4 and amabri version - 2.6.1kafka version is 10.1we want to upgrade only the kafka machines to the latest versionso my question is :is it possible to upgrade only the kafka machine to the latest version ?what is the latest kafka version ?
I followed the Hortonworks documentation to install HDF and HDP, and I have already installed the HDF Management Pack. However, I am missing the base URL required for the next steps; did I forget a step in the installation process?
Hi,, Error thrown while creating table in impala using HUE. Query Status: ImpalaRuntimeException: Error making 'createTable' RPC to Hive Metastore: CAUSED BY: MetaException: java.lang.RuntimeException: org.postgresql.util.PSQLException: ERROR: could not extend file "base/24863/24866": No space left on device Hint: Check free disk space.CREATE TABLE temp_enc.e060908_mcc_ecomm_map(mcc_id string,segment string)ROW FORMAT DELIMITED FIELDS TERMINATED BY ',' Thanks Yasmin
Hi All, When I try to run a huge query at Impala that does a lot of aggregation & sorts, it throws up with the following error. The error is vague and of not much help. Our cluster has 32 impala daemons and all the nodes have been configured with 8 disks of 4TB each. We defined scratch directories on all the disks/nodes in Cloudera Manager. I tried looking at the logs as indicated in the error message but I couldn't find anything useful. Could not create files in any configured scratch directories (--scratch_dirs=) on backend 'data405.prod.com:22000'. See logs for previous errors that may have prevented creating or writing scratch files. Version of impala: 2.12.0-cdh5.15.0 Any pointers would be greatly helpful. Thanks,Ravi
I reduced the replication factor of my HDFS data from 3 to 2, but I noticed that the total data size and storage space are still not decreasing as expected
Hello, I am experimenting with LDAP integration, which I managed to make it work in Hue. Now, I switched the 'backend' property back to 'desktop.auth.backend.AllowFirstUserDjango.Backend', restarted Hue and I can login with the local user as before LDAP. However, on the User Admin page I still see "Add/Sync LDAP user" and not the local "Add user". Which other option prevents the local functionality from showing up? Thank you,Gerasimos
We have kafka cluster with 3 kafka brokers nodes and 3 zookperes serverskafka version - 10.1 ( hortonworks )from my understanding since all meta data is located on the zookeeper servers , and kafka brokers are using this data ( kafka talk with zookeeper server via port 2181 ) I just wondering if each kafka machine talk with other kafka in the cluster , or maybe kafka are get/put the data only on/from the zookeepers servers ?So dose kafka service need to communicate with other kafka in the cluster ? , Or maybe kafka machines get all is need only from the zookeepers server ?
I am using the "Hortonworks Data Platform (HDP®) 3.0.1 on Hortonworks Sandbox" using Docker in Hyper-V on Windows 10 1803 box. Pleas note have lots of disk space. memory, and cores on this machine. I have scan the forums and web so far nothing has worked. Here is the output from df -h:[root@sandbox-hdp ~]# df -hFilesystem Size Used Avail Use% Mounted onoverlay 59G 55G 1.4G 98% /tmpfs 64M 0 64M 0% /dev/dev/sda1 59G 55G 1.4G 98% /etc/hostsshm 64M 4.0K 64M 1% /dev/shmtmpfs 9.7G 355M 9.4G 4% /runtmpfs 2.0G 0 2.0G 0% /run/user/1003tmpfs 2.0G 0 2.0G 0% /run/user/0tmpfs 2.0G 0 2.0G 0% /run/user/1004tmpfs 2.0G 0 2.0G 0% /run/user/1011tmpfs 2.0G 0 2.0G 0% /run/user/1009tmpfs 2.0G 0 2.0G 0% /run/user/1019tmpfs 2.0G 0 2.0G 0% /run/user/1002tmpfs 2.0G 0 2.0G 0% /run/user/1021tmpfs 2.0G 0 2.0G 0% /run/user/1001tmpfs 2.
Hi All,I have a stringString:some text with an ip 111.111.111.111 and a decimal 11.2323232 and some text here and then an int 1 and then some HTTP/1.1 with a 503 request and then another ip 222.222.222.222 and some imaginary 999.999.999.999I want to output all the ip addresses in comma saperated. I tried the belowselect regexp_replace(regexp_replace(String,'[^(\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3})]',' '),'\\s+',',');+------------------------------------------------------------------------+--+| _c0 |+------------------------------------------------------------------------+--+| ,111.111.111.111,11.2323232,1,1.1,503,222.222.222.222,999.999.999.999 |+------------------------------------------------------------------------+--+Expected output is : 111.111.111.111,222.222.222.222,999.999.999Could you please help me
I am trying to follow the steps at https://docs.hortonworks.com/HDPDocuments/HDF3/HDF-3.0.0/bk_getting-started-with-stream-analytics/content/ch_prepare-your-environment.htmlby creating a new kafka topic, then adding a new schema in the SchemaRegistry. However, when I try to add a new schema (following the instructions on the page) I get the following error when I click on Save in Schema Registry:An exception was thrown while processing request with message: [SchemaMetadata not found with the schemaName: raw-truck_events_avro]I am a newbie with this tool - so I don't know where to look next to see what is causing this error. Your help is greatly appreciated!
I am trying to install HDP 3.0 version on a 6 node cluster where 5 nodes act as ambari-agent and 1 node as server.Here is the log file:stderr: Traceback (most recent call last): File "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/RANGER_KMS/package/scripts/kms_server.py", line 137, in <module> KmsServer().execute() File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 353, in execute method(env) File "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/RANGER_KMS/package/scripts/kms_server.py", line 51, in install kms.setup_kms_db() File "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/RANGER_KMS/package/scripts/kms.py", line 68, in setup_kms_db copy_jdbc_connector(kms_home) File "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/RANGER_KMS/package/scripts/kms.py", line 359, in copy_jdbc_connector Please run 'ambari-server setup --jdbc-db={db_name} --jdbc-driver={path_to_jdbc} on server host.'".format(params.db_flavo
I want to be able to tag a list of Hive columns in Atlas (HDP 2.6.5) from a Python script. For this I need to find the guid of the Hive column I'm targetting. But I can't seem to tame the Atlas REST API to do that.Getting all the Hive columns in the data lake is easy enough:curl -u myaccount -i -H "Content-Type: application/json" -X GET 'https://atlasnode.domain.com:21000/api/atlas/discovery/search/dsl?query=hive_column+where+__state=%27ACTIVE%27+select+qualifiedName,name,__guid'That works (the number of Hive columns is limited to 100 by default):{ "requestId": "pool-2-thread-6 - 7e8ec2ee-a94b-4e37-b851-57b1b3df6e29", "query": "hive_column where __state='ACTIVE' select qualifiedName,name,__guid", "queryType": "dsl", "count": 100, "results": [ { "$typeName$": "__tempQueryResultStruct5", "qualifiedName": "mytestdb.employee.name@CLUSTERNAME", "__guid": "809c84d5-e065-45f4-81c8-fcdb7cf81560", "name": "name" }, { "$typeName$": "__tempQueryResultStruct5
When I execute quires that return large results in the phoenix shell (sqlline.py), I get the following error:org.apache.hadoop.hbase.UnknownScannerException: org.apache.hadoop.hbase.UnknownScannerException: Name: 33164, already closed?Which will probably be resolved by the solution posted here. However, I do not have permission to edit the hbase-site.xml so I need to pass the settings as command line arguments when starting the phoenix shell. Previously we have used the `--conf hbase.rpc.timeout=xxx` syntax on other jobs, but I can't find a way to pass that into the phoenix shell. So my question is: Can I pass those settings as arguments when starting the sqlline.py or can I set them while already inside?
I have a table that I'm querying with an array<String> column and queries are extremely slow when accessing the complex type. The table is partitioned and Impala is doing a broadcast cross join on the "array" component and scanning ALL partitions, wherein the base part of the query, it's pruning the partitions based on the partition key and only scanning the partition I'm querying on. Here is the query: select rta.transaction_purchase_id, rta.cigarette_transaction_flag, rta.non_cig_merch_transaction_flag, bow.itemfrom wdl_atomic.retail_transaction_attribute rta, wdl_atomic.retail_transaction_attribute.retail_offering_material_group_distinct_list bowwhere rta.fiscal_period_id = 2019001; This is the explain plan: Explain String Max Per-Host Resource Reservation: Memory=0B Per-Host Resource Estimates: Memory=44.61GB PLAN-ROOT SINK | 04:EXCHANGE [UNPARTITIONED] | 02:NESTED LOOP JOIN [CROSS JOIN, BROADCAST] | |--03:EXCHANGE [BROADCAST] |
oozie-error.jpgHi,I installed hdp 2.6.5 cluster using two machines. It's not a kerberized environment. I'm using Chrome as a browser.When Opening Oozie UI i get the following message :Oozie web console is disabled.To enable Oozie web console install the Ext JS library.How can I enable the UI? Many thanks in advance.Regards,
Assistance required to replace double quotes with single quotes in Nifi Replace Text processor, Please assist.Input: "162","298","99","1.5","3","7.46","0","0.53","1"Output: '162','98','99','1.5','3','7.46','0','0.53','1'Post 'Replace Text' i will pass on the values to Putsql processor which inserts data into Oracle, where double quotes for column value is not accepted.
Windows 10 / VMware Workstation Pro 15:Uninstalled HDP 2.6.5 which was working in Bridged mode. Installed HDP 3.0.1 as per https://hortonworks.com/tutorial/sandbox-deployment-and-install-guide/section/2/No errors; unable to access splash page on http://192.168.1.9:1080 but can access SSH terminal using putty on 192.168.1.9:2222Tried adding Host-only network adapter, no joy!Tried reinstalling VMWare, no joy!With my limited experience I can see no other services using 1080 or 8080 ports.Please help
Can anyone please share with me the Ambari installation documentation on Ubuntu 16.04?
Dear All, I am using this sqoop command for importing Oracle Table into Hive Table sqoop import --connect jdbc:oracle:thin:@123.123.123.112:1500:COL --username admin -P --table db.table1 --hive-import --hive-overwrite --create-hive-table --hive-database hive_db --hive-table table1 --split-by primary_Key After Importing from oracle to Hive Some rows and columns are entirely Showing 'NULL' . ORACLE TABLE HIVE TABLE -ISSUE 1. PRIMARY_KEY (NOT NULL COLUMN)2. There is 0 'NULL' Value 1. SOME ROWS AND COLUMNS ARE NULL2. 35 NULL (ROWS and COLUMS) How to clear it?
step 1 get rsa key from umbari host # cat /root/.ssh/id_rsa step 2 Amabri web UI choose Hosts...Action Add Host. enter ambari.example.com in Target Hosts Field Paste the key from step 1 into where it asks for 'ssh prv key' step 3 click button Register and confirm.... returns Failed ==========================Creating target directory...==========================Command start time 2019-02-05 14:23:08root@ambari.example.com: Permission denied (publickey,password). SSH command execution finishedhost=ambari.example.com, exitcode=255 Command end time 2019-02-05 14:23:08ERROR: Bootstrap of host ambari.example.com fails because previous action finished with non-zero exit code (255) ERROR MESSAGE: root@ambari.example.com: Permission denied (publickey,password).STDOUT: root@ambari.example.com: Permission denied (publickey,password). OK
I found it necessary to troubleshoot a problem enabling kerberos to modify the ambari server and cluster boxes /etc/hostname from name.example.com to name.corp.example.comI also edited the /etc/hosts on all to reflect accordingly.I also ran ambari-server setup-security and option 1 to DISABLE the https.Enter choice, (1-5): 1 Do you want to disable HTTPS [y/n] (n)? y Ambari server URL changed. To make use of the Tez View in Ambari please update the property tez.tez-ui.history-url.base in tez-site Adjusting ambari-server permissions and ownership... NOTE: Restart Ambari Server to apply changes ("ambari-server restart|stop+start")restarted the ambari service #ambari-server restart|Now I get the login page on port 8- butif I try to login as admin the screen just freezes and mouse cursor becomes circle with line through it.Any suggestions welcome to get back to admin able to log in.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.