Questions tagged [hue]

Hue is a Web interface for analyzing data with Apache Hadoop. It supports a file and job browser, Hive, Pig, Impala, Spark, Oozie editors, Solr Search dashboards, HBase, Sqoop2, and more.

Filter by
Sorted by
Tagged with
0 votes
0 answers
13 views

I'm executing a simple query in a spark session in python return an error: Failed to convert the JSON string 'int' to a data type

I'm running a simple query in a Python Spark session using SparkSession.builder.appName. The query is select * from table, but it returns the following error: Py4JJavaError: An error occurred while ...
0 votes
0 answers
15 views

Impala -to_timestamp()

Impala to_timestamp() returns extra 1 hour SELECT to_timestamp(01051984, ddMMyyyy) returns '1984-05-01 00:00:00'. SELECT to_timestamp(01041984, ddMMyyyy) returns '1984-04-01 01:00:00' in DBeaver ...
  • 3
0 votes
0 answers
26 views

Cannot select * from view in Hue/hive

I am trying to select * from a view: Ex: SELECT * from `histdb_v3_nz_histusr`.`vw__hist_column_access_3_final` LIMIT 100; and it throws me the below error. I have tried to place the brackets on ...
0 votes
1 answer
21 views

Impala how to select only numeric and special characters, ignore any alphabet?

I have a dataset that's really messy and I want to find the missing values. These have been denoted in a mix of ways such as -1, *, --, ##### etc. I want to remove any rows that have alphabet and just ...
0 votes
1 answer
38 views

Error while installing Cloudera Hue on MAC OS 13.0.1

Error while executing make file I currently have python3.9 and python2.7 also hue (master)> make (base) "PYTHON_VER is ...
0 votes
1 answer
22 views

Can't find the supervisor file in Hue folder

I can't find the file 'supervisor' in Hue folder. According to official documentation it should be in the folder $HUE_HOME/build/env/bin. I am doing my operation in Ubuntu server 22.04. My objective ...
0 votes
0 answers
235 views

UserWarning: Setuptools is replacing distutils. at building Hue : sudo make apps ,it fails with :

add the development packages, build and get the development server running: "PYTHON_VER is python3.7." "Python 3 module install via pip" "SYS_PYTHON is /root/.pyenv/shims/...
  • 1
0 votes
0 answers
10 views

the histograms in Joint Plot

I want to plot a Scatterplot using joint plot where I am using Hue. But the KDE plots on the axes are not desired. Instead of those, I need to plot the histogram containing the aggregate count in the ...
0 votes
0 answers
74 views

Hive SQL array column based on regexp select columns

I have the following table id val1 supval1 val2 supval2 val3 supval3 a 01 123 03 897 01 654 b 02 321 NULL NULL NULL NULL c 03 213 02 555 NULL NULL where every id might have N pairs of values and ...
0 votes
0 answers
16 views

Hue - Impala Query Editor shows 'highlighted' query offset to the cursor position

When using Hue, creating/editing Impala queries, the highlighted query will initially start off based on the row that the cursor is on. So if I have a single query, and select a row anywhere within ...
  • 3
0 votes
0 answers
82 views

Oozie spark action involving spark sql fails if enableHiveSupport() is used

Using AWS EMR here. Release label:emr-6.7.0 Hadoop distribution:Amazon 3.2.1 Applications:Spark 3.2.1, JupyterHub 1.4.1, Hue 4.10.0, Livy 0.7.1, Hive 3.1.3, Oozie 5.2.1 I'm trying to run a simple ...
0 votes
0 answers
40 views

How do I force Hue to run blocks of code in sequence?

I am having some issues with Hue, running multiple tables generated in sequence, where Hue executes each block either in a semi-random order, or raises errors either immediately (in the case where ...
  • 1
0 votes
1 answer
59 views

Convert manually CIE LChab values to RGB

I want display sRGB values based on CIE LHab values, i didn't really know the topic aroud color theory but here is my code, i use colour library. Did i miss something? #Use Illuminant d65 d65 = [0....
0 votes
1 answer
41 views

How to filter different values from a specific column?

I have a code: SELECT * from (select rank() over(partition by color_id order by rand(101)) as rank_nr,* FROM table1 WHERE action_code_is in(SELECT * FROM table1 WHERE action_code_is = 'pink' LIMIT 4)...
0 votes
0 answers
22 views

Outputting the name of a field as the output in a query?

I've been searching far and wide but can't find any function that helps me for this one. I'm using Impala in a HUE environment and I'm attempting to use a greatest() function to identify a column that ...
  • 3
0 votes
0 answers
16 views

Pyspark shell - Unable to receive output log file for errors

This is my script. I have edited this script for log filethrough some information on internet. Still i am unable to reveive log files for error. Anyone can help me solve this. This is my script. from ...
0 votes
0 answers
25 views

getting error while loading data in a table using hive

Am getting error as "analysisException: Syntax error in line 1: undefined: LOAD DATA LOCAL INPATH'/home/cloudera...Encounttered:IDENTIFIER Expected:INPATH CAUSED BY:Exception:Syntax error" ...
  • 1
0 votes
0 answers
27 views

Hive User Experience (Hue) creates table as user 'hive,' not mine

When I create a table in a Hue query, Hue creates it as the user 'hive' and immediately fails, throwing a permission denied error because my user doesn't have privileges to modify that table. This ...
0 votes
0 answers
32 views

Running SQL function in HUE IMPALA

I have started working on HUE IMPALA and I am stuck at a complex problem which I am not able to get through. So my table looks like this. Id Month Base Rate Payment New Payment a Jan 1 100 NULL a ...
  • 19
0 votes
1 answer
117 views

Adding a hue to a countplot in sns messes things up

I am trying to plot a countplot of a specific column in sns. This is the original code and plot: import matplotlib.pylab as plt import seaborn as sns plt.figure(figsize=(10,8)) ax = sns.countplot(y=...
  • 77
0 votes
0 answers
83 views

Pyspark and spark not working in apache hue

I want to know the cause. os : ubuntu 20.4 heu version : 4.10.0 livy version : 0.8.0 spark version : 3.3.0 hadoop version : 3.3.4 hive version : 3.1.3 After installing livy to use pyspark, I checked ...
  • 3
0 votes
1 answer
50 views

How to change the background colour of a .png image of a chart from grey to white in R?

Issue: I have a PNG image file that has been exported from a spectrogram (Spectogram 1) I want to change the grey colour background to a white background so it looks crisper. I have never dealt with ...
  • 1,011
0 votes
0 answers
40 views

Unable to trun on philipse Hue LED light via REST api

I want to turn the HUE LED strip on and off using an android application. So I have created the application using HUE API V2. When I send the request to turn ON, I am getting the response 200 code ...
  • 482
-2 votes
1 answer
63 views

Seaborn kdeplot: inconsistent hue [duplicate]

I have a pandas dataframe which contains information about distances moved by men and women in different provinces. Apart from an id and the distance, there is also a column for their gender in ...
0 votes
0 answers
91 views

Hive error TSocket read 0 bytes and TTransportException

I am busy upgrading our AWS EMR cluster to a newer version and I have started running into issues. The errors are only occur on the newer version (Hive 3.1.3). All my queries run fine on the older ...
-1 votes
1 answer
30 views

How completely remove user:admin filter in hue UI?

When I login to hue or refresh page I got filter with user:admin selected: Is there a way to modify hue configs and remove this default filter? (It is very annoyuing to remove it on every page ...
  • 30.3k
0 votes
1 answer
42 views

Access & Change Value Within a String in JavaScript

Quick question: Below goes the code of a JS exercise/experiment on changing two DIV's hue values on click (#left and #right). I've managed to mostly set it up, and get it running, but I've run against ...
0 votes
0 answers
37 views

HiveQL - Create chains of group IDs

Let's say I have a table with 3 columns each containing a group ID like so: I want the group ID column to be populated with an ID that links rows together based on the other 3 groups. So looking at ...
  • 440
0 votes
2 answers
53 views

Insert and Common Table Expression (CTE) in Ozzie Workflow

I would like to have my both Common Table Expression and Insert statement combine together in Ozzie Workflow, but it always failed. Anyone know how could we write these combination, what are the ...
0 votes
0 answers
30 views

Trying to read a multiline table in Hive using HUE 4.0

I'm facing a problem where I want to query a table which contains multilines records. The process was loaded in an AVRO table properly by an external engine but when I try to query with the following ...
0 votes
1 answer
267 views

How to run more than one query concurrently in hue?

If I start the second query, the first one will be killed automatically. So any config of hue/hive/tez/yarn could control this max concurrency? Error message: org.apache.hive.service.cli....
  • 379
0 votes
0 answers
64 views

How can i print complete query output without line breaks in output file

It's printing output but once 1024 rows crossed it takes line break and prints output please suggest how can we handle without line break as below below output: used: (impala-shell -k --ssl -i <...
0 votes
0 answers
94 views

How to write to_timestamp from Impala in Starburst Enterprise

I have this code written in the Imapala and it consist of this: to_timestamp(date_created, "MM/dd/yyyy") AS date_created... there is more after using the to_timestamp again but I just ...
-1 votes
1 answer
25 views

trouble in making query in sql to create such join (HUE)

I want to join these two tables enter image description here enter image description here I want to join these table as "Table 1 left join Table 2". Such that output looks like this: enter ...
0 votes
0 answers
43 views

get description instead of an attribute name in impala query

While running describe scheme1.table1 in Impala (using with Hue in Hadoop) as an output I am getting a table with columns 'name' 'type' 'comment' In 'comment' field I see the detailed specification ...
  • 37
1 vote
1 answer
575 views

Hue attribute in seaborn strip plot is not changing the color of the points [duplicate]

I am using seaborn pair plot to plot the data points over top of a boxplot. I want the points in the pair plot to correspond to their categories. I have added an attribute of hue= category, but it is ...
0 votes
0 answers
54 views

After enabling Solr security, Hue is unable to access Solr collections

I had to add Solr security as following to be able to enable Solr Ranger Plugin. I have no option to use Kerberos so I am only using BasicAuthPlugin for Solr authentication. /solr/security.json { ...
  • 1
0 votes
0 answers
22 views

Hue Oozie PySpark job: Reduce data being ported to stdout?

I'm a user on a Hue platform and am creating an Oozie job using PySpark [this is through a Hue workflow GUI]. When I submit, a large amount of information about dispatchers and tasks are ported to ...
  • 3,412
0 votes
1 answer
124 views

How to import Teradata table into HIVE using HUE?

I need help importing a Teradata table (with LDAP credentials) into HIVE using HUE interface. I'm new to HIVE and has very little knowledge. Also, the import needs to be a fresh load and not append. ...
0 votes
1 answer
277 views

How to map values on to a range in seaborn swarmplot?

I have an array of 100 float values in the range [0, 1]. (min and max values are not necessarily 0 and 1) I want to map them to a hue in the "icefire" color palette, in a swarmplot. In other ...
0 votes
0 answers
71 views

Error while compiling statement in hive_ Unable to create temp file for insert values expression of type TOK_STRINGLATERALSEQUENCE

Iam getting the error while executing in Hue, " Error while compiling statement failed : semanticexception [error 10293]: Unable to create temp file for insert values expression of type ...
0 votes
0 answers
26 views

Oozie integration with livy

I am trying to submit a spark job using oozie scheduler. I need to use livy for this, so that the job will always be submitted to the master node of EMR. Is there any option to do this on hue UI? ...
2 votes
1 answer
933 views

Seaborn Pairplot with and without hue on top of each other

I am plotting a dataframe as a pairplot and fitting lowess lines using regplot in seaborn. I have used hue = "variable", but would like to see the lowess line fitted on the whole data (non-...
  • 81
1 vote
1 answer
201 views

Is there a way to use more than one categorical variable for the hue command in seaborn?

I am trying to create a stripplot of my variable of interest, separated by group on the x-axis, and colored according to sex. Treatment sex variable Drug male 0.24 Drug male -0.42 Drug male 0.43 ...
  • 13
0 votes
0 answers
104 views

ParseException line 33:103 mismatched input '<EOF>' expecting ) near 'record_rank'

Error message is ParseException line 33:103 mismatched input '' expecting ) near 'record_rank' in subquery source. The goal of this section of the code is to eliminate duplicates, thus using the ...
  • 1
0 votes
0 answers
330 views

Convert decimal to string with more than 38 character as hive supports decimal value till 38

I want to get values for the remaining rows as the same as in row 38 (in the picture attached ) for null values but I can not achieve this with this query. since I need a string representation for ...
0 votes
0 answers
79 views

SemanticException while execute sql query statement with chinese on HUE web ui

when I use hive sql with chinese comment to create table on the web(HUE), it pops up 'ascii codec can't encode characters in position', then I tried to chang python default encod into utf8 to fix it, ...
  • 1
3 votes
0 answers
86 views

Cannot execute workflows in Hue Load Balancer

I'm trying to submit a workflow from the Hue Load Balancer and I'm having the following error: "E0307: Runtime error [XML file [hdfs/path/to/workflow.xml] does not exist and app definition cannot ...
0 votes
0 answers
130 views

Hive - HUE - cannot create materialized view

when i try creating a materialized view in a HIVE db through HUE i get the following : Error while compiling statement: FAILED: ParseException line 1:88 cannot recognize input near 'CREATE' '...
  • 11
-1 votes
1 answer
33 views

how to get a cumulative data? I am trying to get the below bucketing in SQL, but not getting desired result/pyspark

So that <30 bucket vales are not being shown in <60 and so on. how can I achieve this case when DATEDIFF((to_date('2022-01-07', 'yyyy-MM-dd')),max(to_date((column), 'yyyy-MM-dd'))) between 0 ...

1
2 3 4 5
19