You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: remove shared of openmldb dependencies for openmldb-batchjob (#3849)
* Remove shared of openmldb dependencies for openmldb-batchjob
* Add shade for protobuf in openmldb-batchjob
* Change log to logger in taskmanager
* Update deploy doc for spark distribution
* fix minor typos
---------
Co-authored-by: Siqi Wang <[email protected]>
Copy file name to clipboardExpand all lines: docs/en/deploy/install_deploy.md
+10-8Lines changed: 10 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ If you need to deploy ZooKeeper and TaskManager, you need a Java runtime environ
24
24
25
25
Servers needs Java 1.8 or above.
26
26
27
-
Zookeeper Client 3.4.14 requires `Java 1.7` - `Java 13`. Java SDK depends on it, so it should use the same Java version, don't run in higher version. If you wish to use zkCli, please use `Java 1.8` or `Java 11`.
27
+
Zookeeper Client 3.4.14 requires `Java 1.7` - `Java 13`. Java SDK depends on the same client, so it should use the same Java version, not a higher version. If you wish to use zkCli, please use `Java 1.8` or `Java 11`.
28
28
29
29
### Hardware
30
30
@@ -195,7 +195,7 @@ The environment variables are defined in `conf/openmldb-env.sh`, as shown in the
195
195
| OPENMLDB_VERSION | 0.8.5 | OpenMLDB version |
196
196
| OPENMLDB_MODE | standalone | standalone or cluster |
197
197
| OPENMLDB_HOME | root directory of the release folder | openmldb root directory |
198
-
| SPARK_HOME | $OPENMLDB_HOME/spark |openmldb spark root directory,If the directory does not exist, it will be downloaded automatically.|
198
+
| SPARK_HOME | $OPENMLDB_HOME/spark |Spark root directory, if the directory does not exist, it will be downloaded automatically.|
199
199
| OPENMLDB_TABLET_PORT | 10921 | TabletServer default port |
200
200
| OPENMLDB_NAMESERVER_PORT | 7527 | NameServer default port |
201
201
| OPENMLDB_TASKMANAGER_PORT | 9902 | taskmanager default port |
@@ -205,7 +205,7 @@ The environment variables are defined in `conf/openmldb-env.sh`, as shown in the
205
205
| OPENMLDB_ZK_CLUSTER | auto derived from `[zookeeper]` section in `conf/hosts`| ZooKeeper cluster address |
Modify the configuration again and start the TabletServer. Note that if all TabletServers are on the same machine, use different port numbers to avoid "Fail to listen" error in the log (`logs/tablet.WARNING`).
442
+
Modify the configuration again and start the TabletServer. Note that if all TabletServers are on the same machine, use different port numbers to avoid the "Fail to listen" error in the log (`logs/tablet.WARNING`).
443
443
444
444
**Note:**
445
445
@@ -608,9 +608,11 @@ The results should include information about all TabletServer and NameServer tha
608
608
609
609
You can have only one TaskManager, but if you require high availability, you can deploy multiple TaskManagers, taking care to avoid IP and port conflicts. If the TaskManager master node experiences a failure, a slave node will automatically recover and replace the master node. Clients can continue accessing the TaskManager service without any modifications.
610
610
611
-
**1. Download the OpenMLDB deployment package and Spark distribution for feature engineering optimization**
611
+
**1. Download the OpenMLDB deployment package and Spark distribution **
612
612
613
-
Spark distribution:
613
+
Download the Spark distribution from the [Spark official website](https://spark.apache.org/downloads.html)。 Then unzip it and set the `SPARK_HOME` environment variable.
614
+
615
+
Alternatively, use the OpenMLDB Spark distribution.
Copy file name to clipboardExpand all lines: java/openmldb-taskmanager/src/main/java/com/_4paradigm/openmldb/taskmanager/server/impl/TaskManagerImpl.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -481,7 +481,7 @@ public TaskManager.SaveJobResultResponse SaveJobResult(TaskManager.SaveJobResult
481
481
}
482
482
// log if save failed
483
483
if (!jobResultSaver.saveFile(request.getResultId(), request.getJsonData())) {
484
-
log.error("save job result failed(write to local file) for resultId: {}",request.getResultId());
484
+
logger.error("save job result failed(write to local file) for resultId: " +request.getResultId());
0 commit comments