report

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 24, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Report

type Report struct {
	NamenodeAddr  string
	HeartBeatTime int
	IP            string
	Port          string
	Addr          string
	StoragePath   string
}

func (*Report) FileReport

func (r *Report) FileReport(filekey string) error

report file to namenode cache

func (*Report) HeartBeat

func (r *Report) HeartBeat()

func (*Report) Register added in v1.0.0

func (r *Report) Register() error

func (*Report) RestartFileReport

func (r *Report) RestartFileReport() error

Restart file reporting tell namenode, datanode stored files.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL