Skip to content

Can't store port number larger than 32767 when using built-in derby db #4

@yoku0825

Description

@yoku0825

I inputted my database information in myperf/db.htm, HostName = 192.168.198.214 and Port = 32768.
After submit, logs/myperf.log.0 says

May 22, 2015 7:13:34 PM com.yahoo.dba.perf.myperf.metrics.MetricsDbBase upsertDBInfo
INFO: Store or update db [56,192.168.198.214,0,0,32768,information_schema, ssh: false,localhost,null,virtual:false,]

That seem ok, but next log says

May 22, 2015 7:13:45 PM com.yahoo.dba.perf.myperf.process.MetricScannerRunner tryConnect
WARNING: Failed second attempt to connect to [56,192.168.198.214,1,0,null,information_schema, ssh: false,localhost,null,virtual:false,null]

MetricScannerRunner tried to connect port "null".

I confirmed port number which is less equal than 32767, MetricScannerRunner handles port number correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions