Selaa lähdekoodia

HUE-8888 [docs] Fix a series of broken links

Romain 6 vuotta sitten
vanhempi
commit
d6fe4ca9d6

+ 4 - 4
docs/docs-site/content/administrator/configuration/apps/_index.md

@@ -8,7 +8,7 @@ weight: 3
 ## Editor
 
 The goal of the Editor is to open-up data to more users by making self service querying easy and productive.
-It has one of the best SQL autocomplete and many [more features](/administrator/configuration/editor/).
+It has one of the best SQL autocomplete and many [more features](/administrator/configuration/connectors/#databases).
 
 It is available in Editor or Notebook. Dialects can be added to the main `[notebook]` section like this:
 
@@ -79,7 +79,7 @@ This option currently only works with Hive and relies on Oozie until [HUE-8738](
 
 ### Assist Query Builder
 
-Flag to enable a lightweight SQL query builder where tables and columns can be dragged & dropped from the left table assist. Not to be confused with the [Query Builder](../dashboard).
+Flag to enable a lightweight SQL query builder where tables and columns can be dragged & dropped from the left table assist. Not to be confused with the [Query Builder](/user/querying/#dashboards).
 
 **Note** This feature is experimental.
 
@@ -97,7 +97,7 @@ Display an analysis panel post Impala queries executions with some hints and sug
 
 ### Query Optimization
 
-In the `[metadata]` section, Hue is supporting Cloudera Navigator Optimiser and soon other services. The goal is to provide recommendation on how to write better queries and get risk alerts on dangerous operations directly within the [editor](/user/editor/).
+In the `[metadata]` section, Hue is supporting Cloudera Navigator Optimiser and soon other services. The goal is to provide recommendation on how to write better queries and get risk alerts on dangerous operations directly within the [editor](/user/querying/).
 
 ### One-click scheduling
 
@@ -233,7 +233,7 @@ Then make sure the `hive` interpreter is present in the `[[interpreters]]` list.
 
 ### Custom
 
-A series of native connectors interacting with the editor have been developed and are listed in the [developer section](/developer/editor/).
+A series of native connectors interacting with the editor have been developed and are listed in the [developer section](/developer/sdk/#sql-connectors).
 
 ### JDBC
 

+ 4 - 4
docs/docs-site/content/administrator/configuration/connectors/_index.md

@@ -626,7 +626,7 @@ Livy supports a configuration parameter in the Livy conf:
 
 ### Pig
 
-Pig is native to Hue and depends on the [Oozie service](../external/) to be configured:
+Pig is native to Hue and depends on the [Oozie service](/administrator/configuration/connectors/#oozie) to be configured:
 
     [[[pig]]]
       name=Pig
@@ -765,7 +765,7 @@ If the configuration is not present, add it to /etc/hadoop/conf/core-site.xml an
 
 Hue's filebrowser can now allow users to explore, manage, and upload data in an S3 account, in addition to HDFS.
 
-Read more about it in the [S3 User Documentation](/user/browsers#s3).
+Read more about it in the [S3 User Documentation](/user/browsing#s3).
 
 In order to add an S3 account to Hue, you'll need to configure Hue with valid S3 credentials, including the access key ID and secret access key: [AWSCredentials](http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSGettingStartedGuide/AWSCredentials.html)
 
@@ -802,7 +802,7 @@ New end points have been added in [HUE-5420](https://issues.cloudera.org/browse/
 
 Hue's file browser can now allow users to explore, manage, and upload data in an ADLS v1 or ADLS v2 (ABFS), in addition to HDFS and S3. ABFS is currently a work in progress with [HUE-8908](https://issues.cloudera.org/browse/HUE-8908)
 
-Read more about it in the [ADLS User Documentation](/user/browsers#adls).
+Read more about it in the [ADLS User Documentation](/user/browsing#adls).
 
 In order to add an ADLS account to Hue, you'll need to configure Hue with valid ADLS credentials, including the client ID, client secret and tenant ID.
 These keys can securely stored in a script that outputs the actual access key and secret key to stdout to be read by Hue (this is similar to how Hue reads password scripts). In order to use script files, add the following section to your hue.ini configuration file:
@@ -893,7 +893,7 @@ Enable doAs support by adding the following properties to hbase-site.xml on each
 
 ### Data Catalog
 
-In the `[metadata]` section, Hue is supporting Cloudera Navigator and soon Apache Atlas ([HUE-8749](https://issues.cloudera.org/browse/HUE-8749)) in order to enrich the [data catalog](/user/browsers/).
+In the `[metadata]` section, Hue is supporting Cloudera Navigator and soon Apache Atlas ([HUE-8749](https://issues.cloudera.org/browse/HUE-8749)) in order to enrich the [data catalog](/user/browsing/).
 
 ### Spark
 

+ 2 - 37
docs/docs-site/content/developer/development/_index.md

@@ -334,41 +334,6 @@ Please download from http://thrift.apache.org/.
 The modules using ``Thrift`` have some helper scripts like ``regenerate_thrift.sh``
 for regenerating the code from the interfaces.
 
-### Profiling
-
-Hue has a profiling system built in, which can be used to analyze server-side
-performance of applications.  To enable profiling:
-
-    build/env/bin/hue runprofileserver
-
-Then, access the page that you want to profile.  This will create files like
-/tmp/useradmin.users.000072ms.2011-02-21T13:03:39.745851.prof.  The format for
-the file names is /tmp/<app_module>.<page_url>.<time_taken>.<timestamp>.prof.
-
-Hue uses the hotshot profiling library for instrumentation.  The documentation
-for this library is located at: http://docs.python.org/library/hotshot.html.
-
-You can use kcachegrind to view the profiled data graphically:
-
-    hotshot2calltree /tmp/xyz.prof > /tmp/xyz.trace
-    kcachegrind /tmp/xyz.trace
-
-More generally, you can programmatically inspect a trace:
-
-    #!/usr/bin/python
-    import hotshot.stats
-    import sys
-
-    stats = hotshot.stats.load(sys.argv[1])
-    stats.sort_stats('cumulative', 'calls')
-    stats.print_stats(100)
-
-This script takes in a .prof file, and orders function calls by the cumulative
-time spent in that function, followed by the number of times the function was
-called, and then prints out the top 100 time-wasters.  For information on the
-other stats available, take a look at this website:
-http://docs.python.org/library/profile.html#pstats.Stats
-
 
 ### Upgrades
 
@@ -737,7 +702,7 @@ Other things to update:
 * Create the after next release tag in Jira and Blog
 * Update http://gethue.com 'Release' menu
 * Update Docker image https://hub.docker.com/u/gethue/
-* Update release date on https://en.wikipedia.org/wiki/Hue_(Software)
+* Update release date on https://wikipedia.org/wiki/Hue_(Software)
 
 Instructions:
 
@@ -771,7 +736,7 @@ Release:
     scp -r docs/docs-site/public/* root@docs.gethue.com:/var/www/docs.gethue.com/4.5.0
 
 
-Then send release notes to the [Forum](https://discourse.gethue.com/), [hue-user](https://groups.google.com/a/cloudera.org/forum/#!forum/hue-user), https://twitter.com/gethue!
+Then send release notes to the [Forum](https://discourse.gethue.com/), [hue-user](https://groups.google.com/a/cloudera.org/forum/#!forum/hue-user), https://twitter.com/gethue !
 
 ## Building
 

+ 1 - 1
docs/docs-site/content/developer/parsers/_index.md

@@ -101,7 +101,7 @@ So if a “lonely” cursor is encountered it will tell us to suggest the ‘SEL
 
 ### Prerequisites
 
-Make sure you have [jison](/developer/development/#sql-autocomplete) installed and a [development](/administrator/installation/dependencies/) Hue. Then configure a [PostgreSQL interpreter](/administrator/configuration/editor/#postgresql).
+Make sure you have [jison](/developer/development/#sql-autocomplete) installed and a [development](/administrator/installation/dependencies/) Hue. Then configure a [PostgreSQL interpreter](/administrator/configuration/connectors/#postgresql).
 
 In the Hue folder:
 

+ 2 - 2
docs/docs-site/content/developer/sdk/_index.md

@@ -13,7 +13,7 @@ Connectors are pluggable and can new engines can be supported. Feel free to cont
 
 ## SQL Autocomplete
 
-Close to 100% of [Hive and Impala grammar](https://github.com/cloudera/hue/blob/master/desktop/core/src/desktop/static/desktop/js/autocomplete/jison) is supported which makes the autocomplete extremly powerful. Other languages defaults to a generic SQL grammar.
+Close to 100% of [Hive and Impala grammar](https://github.com/cloudera/hue/tree/master/desktop/core/src/desktop/js/parse/jison) is supported which makes the autocomplete extremly powerful. Other languages defaults to a generic SQL grammar.
 
 See [How to write your own SQL parser](/developer/parsers/). Integrating [Apache Calcite](https://calcite.apache.org/docs/reference.html), [ZetaSql](https://github.com/google/zetasql)... would make SQL users even happier with a lot more Databases!
 
@@ -143,7 +143,7 @@ Once the request is successful then capture headers and cookies for subsequent r
 
 The [metadata API](https://github.com/cloudera/hue/tree/master/desktop/libs/metadata) is powering [Search and Tagging here](http://gethue.com/improved-sql-exploration-in-hue-4-3/) and the [Query Assistant with Navigator Optimizer Integration](http://gethue.com/hue-4-sql-editor-improvements/).
 
-The backends is pluggable by providing alternative [client interfaces](https://github.com/cloudera/hue/tree/master/desktop/libs/metadata/catalog):
+The backends is pluggable by providing alternative [client interfaces](https://github.com/cloudera/hue/tree/master/desktop/libs/metadata/src/metadata/catalog):
 
 * Cloudera Navigator (default)
 * Apache Atlas ([HUE-8749](https://issues.cloudera.org/browse/HUE-8749))

+ 1 - 1
docs/docs-site/content/user/_index.md

@@ -12,7 +12,7 @@ Hue consists in a single page interface that allow the users to perform data
 analyses without losing any context. The goal is to promote self service and stay simple like Excel
 so that 80% of the user can find, explore and query data and become more data driven.
 
-Please refer to [database list](/administrator/configuration/editor/#connectors) or the main [configuration section](/administrator/configuration/) for all the Database/Data Warehouse connectors.
+Please refer to [database list](/administrator/configuration/connectors/#databases) or the main [configuration section](/administrator/configuration/) for all the Database/Data Warehouse connectors.
 
 **1. Find or import your data**
 

+ 1 - 1
docs/docs-site/content/user/browsing/_index.md

@@ -13,7 +13,7 @@ The browsers can be "enriched" with [Search and Tagging](http://gethue.com/impro
 
 The Table Browser enables you to manage the databases, tables, and partitions of the metastore shared by the Hive and Impala. You can perform the following operations:
 
--   Search and display metadata like tags and additional description from [Catalog backends](/administrator/configuration/external/).
+-   Search and display metadata like tags and additional description from [Catalog backends](/administrator/configuration/connectors/#storage/).
 
 -   Databases
     -   Select a database

+ 1 - 1
docs/docs-site/content/user/querying/_index.md

@@ -43,7 +43,7 @@ MapReduce or [Impala jobs](#impala-queries) that the query generated.
 The pane to the top of the Editor lets you specify the following
 options:
 
-* Settings: depends on the query engines. For information about [Hive configuration variables](http://wiki.apache.org/hadoop/Hive/AdminManual/Configuration).
+* Settings: depends on the query engines. For information about [Hive configuration variables](https://cwiki.apache.org/confluence/display/Hive/AdminManual+Configuration).
 * Files: load a jar of files to use as UDF
 * UDFs: register a custom function
 

+ 1 - 0
tools/docker/documentation/Dockerfile

@@ -18,6 +18,7 @@ RUN mkdir /etc/nginx/sites-enabled
 # Docs
 ADD docs/docs-site /docs
 WORKDIR /docs
+
 RUN hugo
 
 RUN mkdir -p /var/www/docs.gethue.com/html

+ 1 - 0
tools/kubernetes/README.md

@@ -8,6 +8,7 @@ Assuming you have a Kubernetes cluster configured with Helm installed and images
 
 * [Helm](helm)
    * [Hue](helm/hue)
+   * [Website](helm/website)
 * [YAML](yaml)
    * [Hue](yaml/hue)
    * [Postgres](yaml/postgres)

+ 3 - 3
tools/kubernetes/helm/website/values.yaml

@@ -12,7 +12,7 @@ docs:
 monitoring:
   enabled: false
 ingress:
-  create: true
-  #type: "nginx"
-  type: "nginx-ssl"
+  create: false
+  type: "nginx"
+  # type: "nginx-ssl"
   email: "team@gethue.com"