Member since
09-21-2016
27
Posts
8
Kudos Received
2
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
3725 | 03-23-2017 06:11 PM | |
2052 | 12-29-2016 03:00 PM |
05-15-2020
07:15 PM
hello! If I insert a string containing 'or "or, PutSQL to Phoenix will be return the grammatical errors, this should be how to solve?
... View more
09-29-2017
07:14 PM
1 Kudo
check this https://oozie.apache.org/docs/4.0.0/WebServicesAPI.html#Job_Log You can use curl to run the rest api.
... View more
03-23-2017
09:37 PM
I see elapsed time 2m50 seconds and in the bottom : Aggregate Resource Allocation:53607 MB-seconds, 213 vcore-seconds
... View more
03-23-2017
03:00 PM
If want to do one time import,use the following command,It will use hcatalog to create the table and import the data in ORC format sqoop import --connect jdbc:sqlserver://11.11.111.11;databaseName=dswFICO --driver com.microsoft.sqlserver.jdbc.SQLServerDriver --username sqoop --password sqoop --table KNA1 --hcatalog-database default --hcatalog-table KNA1 --create-hcatalog-table --hcatalog-storage-stanza "stored as orcfile"
... View more
12-29-2016
03:00 PM
1 Kudo
weightCol is not part of RandomForestClassifier,its part of logisticrregression @inherit_doc
[docs]class RandomForestClassifier(JavaEstimator, HasFeaturesCol, HasLabelCol, HasPredictionCol, HasSeed,
HasRawPredictionCol, HasProbabilityCol, RandomForestParams, TreeClassifierParams, HasCheckpointInterval): @inherit_doc
[docs]class LogisticRegression(JavaEstimator, HasFeaturesCol, HasLabelCol, HasPredictionCol, HasMaxIter,
HasRegParam, HasTol, HasProbabilityCol, HasRawPredictionCol,
HasElasticNetParam, HasFitIntercept, HasStandardization, HasThresholds,
HasWeightCol):
"""
http://spark.apache.org/docs/1.6.1/api/python/_modules/pyspark/ml/classification.html
... View more
09-28-2018
03:13 AM
I'm having the same issue! https://knox.apache.org/books/knox-1-1-0/user-guide.html#Quick+Start Following the tutorial step by step and the I get this: root@hn0-securi:~/knox-1.1.0# curl -i -k -u guest:guest-password -X GET 'https://localhost:8443/gateway/sandbox/webhdfs/v1/?op=LISTSTATUS'
HTTP/1.1 500 Server Error
Date: Thu, 27 Sep 2018 07:45:22 GMT
Set-Cookie: JSESSIONID=5qbve5zzilryrp6nfy8zztn0;Path=/gateway/sandbox;Secure;HttpOnly
Set-Cookie: rememberMe=deleteMe; Path=/gateway/sandbox; Max-Age=0; Expires=Wed, 26-Sep-2018 07:45:22 GMT
Content-Type: text/html; charset=ISO-8859-1
Cache-Control: must-revalidate,no-cache,no-store
Content-Length: 317
Connection: close
Server: Jetty(9.2.22.v20170606)
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>Error 500 Server Error</title>
</head>
<body><h2>HTTP ERROR 500</h2>
<p>Problem accessing /gateway/sandbox/webhdfs/v1/. Reason:
<pre> Server Error</pre></p><hr><i><small>Powered by Jetty://</small></i><hr/>
</body>
</html> Please help !! Thanks
... View more