Find answers, ask questions, and share your expertise
Recently active
I have the following example JSON in a flowfile (data has been randomly imputed for this example) :{"TrackingRequestFirstIp":"192.10.01.01","TrackingRequestLastIp":"100.120.123.456","TrackingRequestCreationTime":"05:49:55","TrackingRequestCreationDate":"20171013","TrackingRequestTrackingNumber":"12349876"}Here is my AVRO schema:{ "name": "IpReports", "type": "record", "namespace": "com.acme.avro", "fields": [ {"name": "DataSourceInformation", "type":{ "type":"map", "values": { "name":"DataSourceInformation", "type":"record", "fields": [ {"name":"DataSourceUuid", "type":["null","string"], "default":null}, &n
I have a cluster of 350+ nodes ( Edge Nodes, Ingestion Nodes, Management Nodes & Worker Nodes) and all these managed by Ambari. All the Management nodes and Worker nodes are up-to-date with the latest Krb5.conf file. However the Edge Nodes and Ingestion Nodes Krb5.conf file is not updated and missing an entry. Hence My question is, If I modify the krb5.conf file in the Edge nodes & Ingestion nodes Manually to match with the same krb5.conf file in the remaining nodes, what would be the impact? Which all components would require restart? How do i go about syncing them up?No master services or client services are installed on these nodes. However they are part of the cluster. Any help would be appreciated.
Hi All,We have created a Hive database and have some external tables on with files placed in S3 bucket. Our Application accesses this data using Impala.Tables are not partitioned and the files are in text/csv format.How should we collect stats using Impala or Hive ?Is it possible to collect stats for Hive tables using Impala and HIve tables stats should only be created to hive. Appreciate your help. Regards.Sandeep Suman
Hi Friends,I have little doubt about Impala using fair schedulre for launching job. I am reading about Impala since 3 months but I never come across about Impala using fair scheduler instead it has its own mechanism for resource allocation. Is there any situation where Impala uses fair scheduler during execution of query?I have one more doubt about IMPALA using YARN. I want to the scenario/condition when we have to use YARN with IMPALA, becuase IMPALA has its own execution engine. When we have to use YARN with IMPALA? I think Llama is meant for that only.
Hello All, Could someone appraise me the significance of Impala Audit & Lineage Logs. We are facing space issue and would like to know whether we can delete some of those old log files, also the default setting for Impala Daemon Maximum Lineage Log File Size & Impala Daemon Maximum Audit Log File Size is 5000 can this be lowered to 1000 etc. RegardsWert
Hi Friends,I am trying to run IMPALA queries using query options. I am trying to analyze the resultant query attributes. What I have observed that when I run the query for the first time, it took long time than I run the query second time or onwards.I want to know the reason behind difference in time?Does this happen only when table statistics are not available or it happens all the time.Is my observation right?
Hi,I'm having a little bit of a problem when trying to create a Database and when trying to create a Table.I was following the Hortonworks tutorial for Loading and Querying Data with Hadoop, but when I try to create new Databases or new Tables the Database option show me no results, even if the query to create them was successul.Queries:Database:The Database "TCC" that I created don't appear either.
I'm trying to work with Spark and Hive for HDP 3.0. As I see in some articles, now we have to use Hive Warehouse Connector. Everything works fine except for one proble.I can't write a dataframe directlyh from Spark to Hive using Hive Warehouse connector.I have the following code: val spark = SparkSession .builder() .appName("Spark Hive Test Job") .config("spark.sql.hive.hiveserver2.jdbc.url", "jdbc:hive2://s01.ndtstu.local:2181,m01.ndtstu.local:2181,m02.ndtstu.local:2181/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2;user=hive;password=hive?") .getOrCreate() val hive = HiveWarehouseSession.session(spark).build() hive.createDatabase("testADD", true); hive.setDatabase("testADD") hive.createTable("tabletest").ifNotExists() .column("k", "int") &nb
Hi, Can I create a parameterized view in impala somethig like the below pseudo code: Create View MyView as SELECT col1, col2 col3 FROM table_one WHERE startdate = ${date1} and enddate = ${date2} ...
After enable Kerberos, all the links (Job history server web UI, Solr UI, etc.), asking for Authorization Kerberos.png
I need to change the property of default_sql_interpreter to Impala in place of hive so by default Impala query editor get loaded. I check hue.ini but didn't find that. Will that be available in hue database configuration.
Hi all,I have 6 datanodes on my hortonworks cluster (HDP 2.6.3) and one of them is 91% full. The others are "only" 65% full.Il don't understand why the replication is not homogeneous and how i can fix it ?I check the file system and the same difference is observed :On a safe node :# pwd/grid1/hadoop/hdfs/data/current/BP-332877091-10.136.82.11-1500650625087/current/finalized# du -h . --summarize1.9T .On the unsafe node :# pwd/grid1/hadoop/hdfs/data/current/BP-332877091-10.136.82.11-1500650625087/current/finalized# du -h . --summarize2.7T .Same things on each DataNode directories.Thanks for your help.Mathieu
Hi Guys,I am trying to sync ldap users, I am getting below error, any idea, please?====================Review Settings====================Primary LDAP Host : xxxxxxxxxxxxx001Primary LDAP Port (636): 636Secondary LDAP Host <Optional>: xxxxxxxxxxx002Secondary LDAP Port <Optional> (636): 636Use SSL [true/false] (true): trueUser object class (posixUser): posixUserUser ID attribute (uid): uidGroup object class (posixGroup): posixGroupGroup name attribute (cn): cnGroup member attribute (memberUid): memberUidDistinguished name attribute (dn): dnSearch Base (dc=xyzcompany,dc=com): dc=xyzcompany,dc=comReferral method [follow/ignore] (follow): followBind anonymously [true/false] (false): falseHandling behavior for username collisions [convert/skip] for LDAP sync (skip): skipForce lower-case user names [true/false] (true): trueResults from LDAP are paginated when requested [true/false] (false): falseambari.ldap.connectivity.bind_dn: uid=svcTDPlookup,ou=serviceaccounts,ou
Hi. We have a client who has 2 clusters. On the security cluster, they have sensitive data that they redact and copy to the analysis cluster. For security reasons, they would like to minimize the number of open ports on the security cluster. We have successfully tested using distcp from the shell to copy the data with port 8020 open. They would now like to automate the process through oozie. In testing, we have run into an error that port 8042 (Node Manager External Port) is not open. We do not understand why distcp works fine without port 8042 available when run through the shell but fails when called through Oozie. Any help would be appreciated. Thanks. Henry
we need to partition our Hive Table based on date. Date/Month/Year is it better to use int or string for the partition types.ex:CREATE EXTERNAL TABLE partition (id string, event timestamp and so on)PARTITIONED BY (year INT, month INT, day INT)Stored as Parquetvs CREATE EXTERNAL TABLE partition (id string, event timestamp and so on)PARTITIONED BY (year string, month string, day string)Stored as Parquet Noticed that we couldn't do queries like:... where day > 10 with the string option
The following ODBC download page version has the description "C6 Compatible". https://www.cloudera.com/downloads/connectors/hive/odbc/2-6-1.html Hive ODBC Connector 2.5.25 (C6 Compatible) https://www.cloudera.com/downloads/connectors/impala/odbc/2-6-2.html Impala ODBC Connector 2.5.42 (C6 Compatible)What does "C6 compatible" mean?
We have a highly scalable kafka cluster with 11 nodes and another highly scalable Nifi cluster with 11 nodes that we are currently testing. These are created from our custom blueprint. They are deployed in Azure.We find that everytime we stop and restart the cluster a couple of the nodes go unhealthy and we are unable to recover.Do let us know how to resolve the issue.
Hi All, if we add a few additional DataNodes to our cluster, and then execute a rebalance, do the dependent services (Hive, Impala, SOLR, Flume, etc) require an immediate restart or can they run with a stale configuration for a week or so until we can schedule it? The DataNodes will include the following roles: HBase RegionServer HDFS DataNode Impala Daemon Solr Server YARN NodeManager Thank you.
Hello,I have an attribute log_source that holds a path like D:\dir1\dir2\dir3I need to get only dir2 but I'm unable to escape the slash with ${log_source:getDelimitedField(3,'\')}I've tried several things unsuccessfully.
I sure hope someone can help me, because otherwise I'm sunk. I'm using the ListS3 processor to feed a FetchS3 processor, but when I list my test directory, which contains one file, I get 4 messages in my queue instead of one. (I also get 4 messages with the directory name, but I filter that out.) The 4 messages have the same filename and I can't find any reason why this is happening.I searched the site but can find no mention of duplicate messages (or flows) from the ListS3 processor. Which is odd because it has been so easy to create this condition. Multiple developers encountered it. It wasn't just one flow. I encountered it when creating flows on a Linux server, version 1.6, and on my local Windows 10 machine, version 1.8. Does it every time with various buckets.If I examine the queue in a connection between processors, I can see the 4 messages and that they all have the same filename. The weirdest thing is that position is the same for each of the 4 messages. When I list the direct
I am seeing below messages and it is messing up the SRC_OFFSET in this case, i have configured UpdateAttribute with 2 concurrent Tasks. mine is a 3 node cluster, Nifi version 1.9.0
The XML that I have is as follows:<?xml version="1.0" encoding="UTF-8"?><dataService> <dataOutput> <fltdMessage acid="QXE2828" airline="QXE" arrArpt="KSJC" cdmPart="false" depArpt="KPAE" fdTrigger="HCS_TRACK_MSG" flightRef="97606500" msgType="trackInformation" sensitivity="A" sourceFacility="KZSE" sourceTimeStamp="2019-04-05T16:44:30Z"> <trackInformation> <qualifiedAircraftId> <aircraftId>QXE2828</aircraftId> <computerId> <facilityIdentifier>KZSE</facilityIdentifier> <idNumber>657</idNumber> </computer
Hi everyone , This is the Sandbox env.,M trying to load data into Hive table called: dwstg.dummy; here are the steps i followed inside WebShellClientStep1)after connecting to JDBC Hive , below is the command i issuedInput) LOAD DATA INPATH '/mnt/tmp/testme.csv' OVERWRITE INTO TABLE dwstg.dummy;Output) I get following errorError: Error while compiling statement: FAILED: SemanticException Line 1:17 Invalid path ''/mnt/tmp/testme.csv'': No files matching path hdfs://sandbox-hdp.hortonworks.com:8020/mnt/tmp/testme.csv (state=42000,code=40000) Step2)based on the above error , i researched & realized JDBC is not seeing the mount point as it should exist only in HDFS directory for it to see?Step2.1)So i ran below command -->Input) hadoop fs -cp /mnt/tmp/testme.csv hdfs:/ Output: cp: `/mnt/tmp/testme.csv': No such file or directory
Hi Team, I am trying to perform some testing on Impala so that I can analyze the performance of Impala query based on provided configuration.I am using TPCDS queries.I am making jdbc calls to fire queries. In order to change the configuration values for my query at run time for the current session, I am using Impala query options. I am analysing the query attribute values after execution. In one of the jdbc url I am using "mem_limit" query option, I set its value as 3gb (mem_limit=3gb) But I can not see this value is applied to the current session. I am getting below error- "Memory limit exceeded" this is how I am using query option jdbc:impala://host:21050 /tpcds_bin_partitioned_textfile_40;AuthMech=1;KrbRealm=test.com ;KrbHostFQDN=host;KrbServiceName=impala;mem_limit=3gb;"; But when I changed(mem_limit=3gb) the value from clouodera manager->Impala->configuration, it works fiine. What wrong I am doing here.
Hi. I am having a "What the heck" moment. Could someone please explain the theory behind this. I have always presumed that Sqoop - unlike other MR processes that might require the entire dataset to be in memory to work - should not ever have a OOM issue. Afterall, it is using its memory as a buffer, copying the data from DB to the staging area in HDFS, and when complete, moving from staging to --target-dir. So, we were moving a fairly large DB (500GB) but our client would only allow us to use 1 mapper (don't ask why...gulp). About 90 minutes into the process, it terminated with: Container is running beyond the 'PHYSICAL' memory limit. Current usage: 1.0Gib of 1 GB physical memory used; 2.7GB of 2.1 GB virtual memory used. Killing container This is really confusing me. I suppose I can solve the problem by a) increasing the vmem/pmem ratio (yarn.nodemanager.vmem-pmem-ratio = xyz) OR b) not checking for this error (yarn.nodemanager.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.