Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section

List Dev Page Information and MAC Address

Request Method GET
Description

Lists the developer's page information and the MAC dress.

Prerequisites
URI Syntax
Code Blocknoformat
curl -u '<username>:<password>' 'http://<Datameer-serverIP>:<port-number>/ext/support-engineer-report/envInfos?envOption=macAddress&envOption=devPage'
Example Response
Code Block
{
  "devPage": {
    "Charset": "UTF-8",
    "Deploy Mode": "LOCAL",
    "JVM Arguments": "-Ddas.user.data\u003dbuild/jetty_run_das_user_data -Ddb.mode\u003dhsql-memory -Ddb.name\u003ddap -Ddeploy.mode\u003dlocal -Denable.horst\u003dnull -Denable.iifg\u003dfalse -Denable.multiline.formula\u003dfalse -Denable.sql.sheet\u003dfalse -Dgenerate.license\u003dtrue -Dinject.examples\u003dfalse -Djetty.port\u003d8088 -Djetty.scanIntervalSeconds\u003d2 -Dlog4j.configuration\u003dfile:///Users/kschubert/dev/repos/dap/modules/dap-conductor/src/main/resources/log4j.properties -Dorg.xerial.snappy.lib.name\u003dlibsnappyjava.jnilib -Dplugin.configs.dir\u003d/Users/kschubert/dev/repos/dap/modules/dap-conductor/build/jetty_run_conf_plugins -Dplugin.excludes\u003dplugin-zementis -Dplugin.loadEclipseClasses\u003dfalse -Dpreferences.store\u003djetty-preferences-store.xml -Dproperties.path\u003d/Users/kschubert/dev/repos/dap/modules/dap-conductor/src/main/resources/properties/deploy -Dupgrades.paths\u003dsrc/main/script/upgrades -Xmx4G -Dfile.encoding\u003dUTF-8 -Duser.country\u003dDE -Duser.language\u003den -Duser.variant ",
    "JVM Start Time": "2018-06-12 14:16 (9 mins, 23 sec)",
    "JVM Version": "Java HotSpot(TM) 64-Bit Server VM, 1.8 (Oracle Corporation)",
    "Memory": "334.5 MB/3.6 GB",
    "Processors": "8",
    "Timezone": "Europe/Berlin (2)",
    "User": "<user-name>",
    "Webserver URL": "http://localhost:8088/"
  },
  "macAddress": "<MAC-address>"
}
Additional Notes
Verification
Section

List All Info

Request Method GET
Description


Prerequisites
URI Syntax
Code Blocknoformat
curl -u '<username>:<password>' 'http://<Datameer-serverIP>:<port-number>/ext/support-engineer-report/envInfos'
Example Response
Code Block
{
}
Section

List All Log Files Available for Download

Request Method GET
Description

Lists all log files that are available for a download.

URI Syntax
Code Blocknoformat
curl -u '<username>:<password>' 'http://<Datameer-serverIP>:<port-number>/ext/support-engineer-report/logFiles'
Example Response
Code Block
{
  "files": [
    "audit.log",
    "conductor.log",
    "hadoop-metrics.log",
    "hadoop-metrics.log.2018-05-07",
    "housekeeping.log",
    "housekeeping.log.1",
    "httperror.log",
    "httperror.log.2018-05-07",
    "job_execution_trace.log",
    "metrics-jamon.log",
    "metrics-jamon.log.2018-05-08",
    "metrics.log",
    "rollback-error.log",
    "rta-sql-query.log",
    "runtime-analytics-query.log",
    "runtime-analytics.log",
    "smart_decision_prerequisites.log",
    "useraction.log",
    "volume.log",
    "workbook-preview-service.log",
    "workbook_undo.log"
  ]
}
Additional Notes
Section

Download a Single Log File

Request Method
Description


Prerequisites
URI Syntax
Code Blocknoformat
curl -u '<username>:<password>' 'http: //<Datameer-serverIP> :<port-number> /ext/support-engineer-report/logFile/<log-name> /download'
Example Response
Code Block
2017-09-15 10:26:15,1344,1.3 KB,1.2 GB/3.6 GB (34.84%),1,1,3817865216,1.3 KB/1.2 GB (1.0E-4%),1330181728,1,1
2017-09-15 10:28:09,19120,18.7 KB,850.0 MB/3.6 GB (23.34%),1,5,3817865216,18.7 KB/850.0 MB (0.0021%),891258504,1,1
2017-09-15 10:29:21,60864,59.4 KB,223.0 MB/3.6 GB (6.13%),1,11,3817865216,59.4 KB/223.0 MB (0.026%),233875952,1,1
2017-09-15 10:30:49,67264,65.7 KB,871.6 MB/3.6 GB (23.94%),1,11,3817865216,65.7 KB/871.6 MB (0.0074%),913972440,1,1
2017-09-15 17:43:50,1344,1.3 KB,646.4 MB/3.6 GB (17.75%),1,1,3817865216,1.3 KB/646.4 MB (2.0E-4%),677814968,1,1
2017-09-15 17:51:35,1344,1.3 KB,255.5 MB/3.6 GB (7.02%),1,1,3817865216,1.3 KB/255.5 MB (5.0E-4%),267911312,1,1
2017-09-15 18:37:16,1344,1.3 KB,877.0 MB/3.6 GB (24.09%),1,1,3817865216,1.3 KB/877.0 MB (1.0E-4%),919582896,1,1
2017-09-18 10:01:54,1344,1.3 KB,533.3 MB/3.6 GB (14.65%),1,1,3817865216,1.3 KB/533.3 MB (2.0E-4%),559208600,1,1
2017-09-18 18:13:39,1344,1.3 KB,393.1 MB/3.6 GB (10.8%),1,1,3817865216,1.3 KB/393.1 MB (3.0E-4%),412213376,1,1
    ...
2018-05-29 10:41:38,45224,44.2 KB,1.1 GB/3.6 GB (31.15%),1,1,3817865216,44.2 KB/1.1 GB (0.0038%),1189223728,1,1
2018-06-01 09:48:22,3840,3.8 KB,644.7 MB/3.6 GB (17.71%),1,1,3817865216,3.8 KB/644.7 MB (6.0E-4%),676042416,1,1
Additional Notes
Section

Download a Single Log File as a Zip

Request Method POST
Description


Prerequisites
URI Syntax
Code Blocknoformat
curl -u '<username>:<password>' 'http: //<Datameer-serverIP> :<port-number>/ ext/support-engineer-report/logFile/<log-name> /zip >zip> <name-the-file>.zip'
Example Response

No response.

Section

Download Specified Environment Information and Log Files

Request Method POST
Description


URI Syntax
Code Blocknoformat
curl -u '<username>:<password>' -X POST --data-binary @<upload.json> -H  'Content-Type: application/json' 'http://<Datameer-serverIP>:<port-number>/ext/support-engineer-report/all' > <name-the-file>.zip'
Example Response
Code Block
{
}

...