Member since
09-09-2016
13
Posts
0
Kudos Received
0
Solutions
09-15-2016
08:04 PM
@jramakrishnan im not able to locate hue.ini file, Please can you help me to find hue.ini file to update # Webserver listens
... View more
09-15-2016
08:03 PM
@Guilherme Braccialli im not able to locate hue.ini file, Please can you help me to find hue.ini file to update # Webserver listens
... View more
09-15-2016
08:02 PM
@Balkrishna Yadav im not able to locate hue.ini file, Please can you help me to find hue.ini file to update # Webserver listens
... View more
09-13-2016
07:13 PM
@chennuri gouri shankar Thanks for your reply. I have mentioned initaillyonly that when i try accessing Hue UI using http://127.0.0.1:8000/ i get This site can’t be reached 127.0.0.1 refused to connect.
... View more
09-13-2016
06:28 PM
@Guilherme Braccialli, [root@sandbox ~]# netstat -nap | grep 8000
tcp 0 0 0.0.0.0:8000 0.0.0.0:* LISTEN 7833/python2.6
In the above command i can see 0 0.0.0.0:8000 but im trying to access 127.0.0.1:8000.Should i update anything in hue/hue.ini about URL. Please suggest.
... View more
09-13-2016
06:26 PM
Hi @ Guilherme Braccialli
[root@sandbox ~]# service hue status
supervisor (pid 7822) is running...
[root@sandbox ~]# netstat -nap | grep 8000
tcp 0 0 0.0.0.0:8000 0.0.0.0:* LISTEN 7833/python2.6
Please suggest should the update kill -9 [PID FROM PREVIOUS COMMAND]. Is my PID is 7822 or 7833
... View more
09-10-2016
04:12 AM
below are steps i followed @Guilherme Braccialli sandbox login: root
root@sandbox.hortonworks.com's password:
Last login: Fri Sep 9 14:17:12 2016 from 10.0.2.15
[root@sandbox ~]# service hue start
Starting hue: [ OK ]
[root@sandbox ~]# chown -R hue:hue /var/log/hue
[root@sandbox ~]# /usr/lib/hue/build/env/bin/hue testserver
Creating test database 'default'...
Destroying old test database...
Type 'yes' if you would like to try deleting the test database '/usr/lib/hue/desktop/desktop-test.db', or 'no' to cancel: yes
Destroying old test database...
Creating test database...
Syncing...
Creating table auth_permission
Creating table auth_group_permissions
Creating table auth_group
Creating table auth_user_user_permissions
Creating table auth_user_groups
Creating table auth_user
Creating table auth_message
Creating table django_content_type
Creating table django_session
Creating table django_site
Creating table django_admin_log
Creating table south_migrationhistory
Installing index for auth.Permission model
Installing index for auth.Group_permissions model
Installing index for auth.User_user_permissions model
Installing index for auth.User_groups model
Installing index for auth.Message model
Installing index for admin.LogEntry model
No fixtures found.
Migrating...
Running migrations for desktop:
- Migrating forwards to 0008_documentpermission_m2m_tables.
> desktop:0001_initial
> desktop:0002_add_groups_and_homedirs
> desktop:0003_group_permissions
> desktop:0004_grouprelations
> desktop:0005_settings
> desktop:0006_settings_add_tour
> beeswax:0001_initial
> beeswax:0002_auto__add_field_queryhistory_notify
> beeswax:0003_auto__add_field_queryhistory_server_name__add_field_queryhistory_serve
> beeswax:0004_auto__add_session__add_field_queryhistory_server_type__add_field_query
> beeswax:0005_auto__add_field_queryhistory_statement_number
> beeswax:0006_auto__add_field_session_application
> beeswax:0007_auto__add_field_savedquery_is_trashed
> beeswax:0008_auto__add_field_queryhistory_query_type
> desktop:0007_auto__add_documentpermission__add_documenttag__add_document
> desktop:0008_documentpermission_m2m_tables
- Loading initial data for desktop.
No fixtures found.
Running migrations for djcelery:
- Migrating forwards to 0004_v30_changes.
> djcelery:0001_initial
> djcelery:0002_v25_changes
> djcelery:0003_v26_changes
> djcelery:0004_v30_changes
- Loading initial data for djcelery.
No fixtures found.
Running migrations for beeswax:
- Migrating forwards to 0011_auto__add_field_session_proprietary__add_field_queryhistory_session__a.
> beeswax:0009_auto__add_field_queryhistory_result_rows__add_field_queryhistory_resul
> beeswax:0010_auto__chg_field_queryhistory_result_rows__chg_field_queryhistory_resul
> beeswax:0011_auto__add_field_session_proprietary__add_field_queryhistory_session__a
- Loading initial data for beeswax.
No fixtures found.
Running migrations for jobsub:
- Migrating forwards to 0006_chg_varchars_to_textfields.
> jobsub:0001_initial
> jobsub:0002_auto__add_ooziestreamingaction__add_oozieaction__add_oozieworkflow__ad
> jobsub:0003_convertCharFieldtoTextField
> jobsub:0004_hue1_to_hue2
- Migration 'jobsub:0004_hue1_to_hue2' is marked for no-dry-run.
> jobsub:0005_unify_with_oozie
- Migration 'jobsub:0005_unify_with_oozie' is marked for no-dry-run.
> jobsub:0006_chg_varchars_to_textfields
- Loading initial data for jobsub.
No fixtures found.
Running migrations for oozie:
- Migrating forwards to 0021_auto__chg_field_java_args__add_field_job_is_trashed.
> oozie:0001_initial
> oozie:0002_auto__add_hive
> oozie:0003_auto__add_sqoop
> oozie:0004_auto__add_ssh
> oozie:0005_auto__add_shell
> oozie:0006_auto__chg_field_java_files__chg_field_java_archives__chg_field_sqoop_f
> oozie:0007_auto__chg_field_sqoop_script_path
> oozie:0008_auto__add_distcp
> oozie:0009_auto__add_decision
> oozie:0010_auto__add_fs
> oozie:0011_auto__add_email
> oozie:0012_auto__add_subworkflow__chg_field_email_subject__chg_field_email_body
> oozie:0013_auto__add_generic
> oozie:0014_auto__add_decisionend
> oozie:0015_auto__add_field_dataset_advanced_start_instance__add_field_dataset_ins
> oozie:0016_auto__add_field_coordinator_job_properties
> oozie:0017_auto__add_bundledcoordinator__add_bundle
> oozie:0018_auto__add_field_workflow_managed
> oozie:0019_auto__add_field_java_capture_output
> oozie:0020_chg_large_varchars_to_textfields
> oozie:0021_auto__chg_field_java_args__add_field_job_is_trashed
- Loading initial data for oozie.
No fixtures found.
Running migrations for pig:
- Migrating forwards to 0004_auto__del_field_job_script.
> pig:0001_initial
> pig:0002_auto__chg_field_udf_description__add_field_pigscript_arguments
> pig:0003_auto__add_field_job_script_title__add_field_job_user__chg_field_job_sc
> pig:0004_auto__del_field_job_script
- Loading initial data for pig.
No fixtures found.
Running migrations for useradmin:
- Migrating forwards to 0002_add_ldap_support.
> useradmin:0001_permissions_and_profiles
- Migration 'useradmin:0001_permissions_and_profiles' is marked for no-dry-run.
> useradmin:0002_add_ldap_support
- Migration 'useradmin:0002_add_ldap_support' is marked for no-dry-run.
- Loading initial data for useradmin.
No fixtures found
Synced:
> django.contrib.auth
> django.contrib.contenttypes
> django.contrib.sessions
> django.contrib.sites
> django.contrib.admin
> django_extensions
> south
> about
> filebrowser
> help
> proxy
Migrated:
- desktop
- djcelery
- beeswax
- jobsub
- oozie
- pig
- useradmin
No fixtures found.
Validating models...
0 errors found
Django version 1.2.3, using settings 'desktop.settings'
Development server is running at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
Error: That port is already in use.
[root@sandbox ~]# cp /usr/lib/hue/desktop/desktop-test.db /var/lib/hue/desktop.db
cp: overwrite `/var/lib/hue/desktop.db'? yes
[root@sandbox ~]# service hue restart
Shutting down hue: [ OK ]
Starting hue: [ OK ]
[root@sandbox ~]#
... View more
09-09-2016
02:43 PM
Can you please let me know is this the issue with HDP 2.4.0. If so ill switch to new version 2.4.2 or degrade to 2.3+
... View more
09-09-2016
02:41 PM
can you please tell me. how to do this "I receive lots of permissions errors and fixed" in the point "1- When I tried to start hue (service hue start), I receive lots of permissions errors and fixed then changing owner of directory /var/log/hue (chown -R hue:hue /var/log/hue)"
... View more
09-09-2016
02:39 PM
HI, I have already added a comment in the link mentioned. I have followed all the steps but still im not able to access using url http://127.0.0.1:8000/.
... View more
09-09-2016
02:19 PM
Hi jramakrishnan,
[root@sandbox ~]# service hue status
supervisor (pid 9279) is running...
[root@sandbox ~]# netstat -nap | grep 9279
[root@sandbox ~]#
... View more
09-09-2016
02:00 PM
Hi, Im trying setup HUE for HDP 2.4.0. I did all the steps mentioned. When i run the cmd service hue restart using sandbox ssl, im getting a message as hue started. But when i try accessing Hue UI using http://127.0.0.1:8000/ i get This site can’t be reached 127.0.0.1 refused to connect. your help in resolving this will be highly appriciated.
... View more
Labels:
09-09-2016
01:23 PM
HI, Im trying setup HUE for HDP 2.4.0. I did all the steps mentioned. When i run the cmd service hue restart using sandbox ssl, im getting a message as hue started. But when i try accessing Hue UI using http://127.0.0.1:8000/ i get This site can’t be reached 127.0.0.1 refused to connect. your help in resolving this will be highly appriciated.
... View more