我尝试在本地安装OpenTSDB 2.4。环境:
当我运行时/建筑嘘,
我有这个问题:
warning: [options] bootstrap class path not set in conjunction with -source 6
error: Source option 6 is no longer supported. Use 7 or later.
make[1]: *** [Makefile:1853: .javac-stamp] Error 2
make[1]: Leaving directory '/home/vhirk/go/src/github.com/test/adiitional-scripts/opentsdb/opentsdb/build'
make: *** [Makefile:1411: all] Error 2
我在更改source 6
-
在此之后,我有这个问题:
../src/core/HistogramPojo.java:19: error: package javax.xml.bind does not exist
import javax.xml.bind.DatatypeConverter;
^
../src/query/expression/IntersectionIterator.java:30: warning: NotImplementedException is internal proprietary API and may be removed in a future release
import sun.reflect.generics.reflectiveObjects.NotImplementedException;
^
../src/query/expression/UnionIterator.java:30: warning: NotImplementedException is internal proprietary API and may be removed in a future release
import sun.reflect.generics.reflectiveObjects.NotImplementedException;
^
../src/tree/Branch.java:25: error: package javax.xml.bind does not exist
import javax.xml.bind.DatatypeConverter;
^
../src/uid/UniqueId.java:309: warning: [dep-ann] deprecated item is not annotated with @Deprecated
public long maxPossibleId() {
^
../src/uid/UniqueId.java:594: warning: [rawtypes] found raw type: Deferred
final Deferred d;
^
missing type arguments for generic class Deferred<T>
where T is a type-variable:
T extends Object declared in class Deferred
../src/uid/UniqueId.java:1412: error: cannot find symbol
return DatatypeConverter.printHexBinary(uid);
^
symbol: variable DatatypeConverter
location: class UniqueId
../src/uid/UniqueId.java:1563: error: cannot find symbol
return DatatypeConverter.parseHexBinary(id);
^
symbol: variable DatatypeConverter
location: class UniqueId
../src/rollup/RollupInterval.java:240: warning: [cast] redundant cast to int
intervals = num_span / (int)interval;
^
../src/core/HistogramCodecManager.java:117: warning: [deprecation] newInstance() in Class has been deprecated
codec = (HistogramDataPointCodec) clazz.newInstance();
^
where T is a type-variable:
T extends Object declared in class Class
../src/core/HistogramDataPoint.java:83: warning: [overrides] Class HistogramBucket overrides equals, but neither it nor any superclass overrides hashCode method
public class HistogramBucket implements KryoSerializable, Comparable<HistogramBucket> {
^
../src/core/TSSubQuery.java:287: warning: [dep-ann] deprecated item is not annotated with @Deprecated
public Aggregator downsampler() {
^
../src/core/TSSubQuery.java:293: warning: [dep-ann] deprecated item is not annotated with @Deprecated
public long downsampleInterval() {
^
../src/core/TSSubQuery.java:330: warning: [dep-ann] deprecated item is not annotated with @Deprecated
public Map<String, String> getTags() {
^
../src/core/TSSubQuery.java:430: warning: [dep-ann] deprecated item is not annotated with @Deprecated
public void setTags(Map<String, String> tags) {
^
../src/core/DownsamplingSpecification.java:82: warning: [dep-ann] deprecated item is not annotated with @Deprecated
public DownsamplingSpecification(final long interval,
^
../src/core/TsdbQuery.java:651: warning: [deprecation] DownsamplingSpecification(long,Aggregator,FillPolicy) in DownsamplingSpecification has been deprecated
this.downsampler = new DownsamplingSpecification(
^
../src/core/TsdbQuery.java:1407: warning: [deprecation] DownsamplingSpecification(long,Aggregator,FillPolicy) in DownsamplingSpecification has been deprecated
downsampler = new DownsamplingSpecification(
^
../src/core/TsdbQuery.java:1777: warning: [deprecation] DownsamplingSpecification(long,Aggregator,FillPolicy) in DownsamplingSpecification has been deprecated
downsampler = new DownsamplingSpecification(
^
../src/utils/ByteSet.java:83: warning: [unchecked] unchecked cast
new_set.map = (ByteMap<Object>) map.clone();
^
required: ByteMap<Object>
found: Object
../src/core/Span.java:501: warning: [deprecation] Downsampler(SeekableView,long,Aggregator) in Downsampler has been deprecated
return new Downsampler(spanIterator(), interval_ms, downsampler);
^
../src/core/Span.java:505: warning: [deprecation] FillingDownsampler(SeekableView,long,long,long,Aggregator,FillPolicy) in FillingDownsampler has been deprecated
return new FillingDownsampler(spanIterator(), start_time, end_time,
^
../src/core/Downsampler.java:76: warning: [dep-ann] deprecated item is not annotated with @Deprecated
Downsampler(final SeekableView source,
^
../src/core/Histogram.java:28: warning: [rawtypes] found raw type: Map
public Map getHistogram();
^
missing type arguments for generic class Map<K,V>
where K,V are type-variables:
K extends Object declared in interface Map
V extends Object declared in interface Map
../src/core/FillingDownsampler.java:56: warning: [dep-ann] deprecated item is not annotated with @Deprecated
FillingDownsampler(final SeekableView source, final long start_time,
^
../src/core/HistogramPojo.java:147: error: cannot find symbol
return DatatypeConverter.printBase64Binary(raw);
^
symbol: variable DatatypeConverter
location: class HistogramPojo
../src/core/HistogramPojo.java:151: error: cannot find symbol
return DatatypeConverter.parseBase64Binary(encoded);
^
symbol: variable DatatypeConverter
location: class HistogramPojo
../src/core/SimpleHistogram.java:250: warning: [unchecked] unchecked cast
(Set<Map.Entry<HistogramBucket, Long>>) histo.getHistogram().entrySet()) {
^
required: Set<Entry<HistogramBucket,Long>>
found: Set
../src/core/MultiGetQuery.java:950: warning: [cast] redundant cast to Span
Span datapoints = (Span) spans.get(key);
^
../src/core/SpanGroup.java:194: warning: [deprecation] DownsamplingSpecification(long,Aggregator,FillPolicy) in DownsamplingSpecification has been deprecated
new DownsamplingSpecification(interval, downsampler, fill_policy) :
^
../src/meta/TSUIDQuery.java:93: warning: [dep-ann] deprecated item is not annotated with @Deprecated
public TSUIDQuery(final TSDB tsdb) {
^
../src/meta/TSUIDQuery.java:227: warning: [dep-ann] deprecated item is not annotated with @Deprecated
public void setQuery(final String metric, final Map<String, String> tags) {
^
../src/meta/TSUIDQuery.java:551: warning: [dep-ann] deprecated item is not annotated with @Deprecated
public static Deferred<IncomingDataPoint> getLastPoint(final TSDB tsdb,
^
../src/query/expression/IntersectionIterator.java:448: warning: NotImplementedException is internal proprietary API and may be removed in a future release
throw new NotImplementedException();
^
../src/query/expression/IntersectionIterator.java:453: warning: NotImplementedException is internal proprietary API and may be removed in a future release
throw new NotImplementedException();
^
../src/query/expression/IntersectionIterator.java:458: warning: NotImplementedException is internal proprietary API and may be removed in a future release
throw new NotImplementedException();
^
../src/query/expression/IntersectionIterator.java:463: warning: NotImplementedException is internal proprietary API and may be removed in a future release
throw new NotImplementedException();
^
../src/query/expression/IntersectionIterator.java:483: warning: NotImplementedException is internal proprietary API and may be removed in a future release
throw new NotImplementedException();
^
../src/query/expression/IntersectionIterator.java:488: warning: NotImplementedException is internal proprietary API and may be removed in a future release
throw new NotImplementedException();
^
../src/query/expression/IntersectionIterator.java:493: warning: NotImplementedException is internal proprietary API and may be removed in a future release
throw new NotImplementedException();
^
../src/query/expression/UnionIterator.java:341: warning: NotImplementedException is internal proprietary API and may be removed in a future release
throw new NotImplementedException();
^
../src/query/expression/UnionIterator.java:360: warning: NotImplementedException is internal proprietary API and may be removed in a future release
throw new NotImplementedException();
^
../src/query/expression/UnionIterator.java:365: warning: NotImplementedException is internal proprietary API and may be removed in a future release
throw new NotImplementedException();
^
../src/query/expression/UnionIterator.java:370: warning: NotImplementedException is internal proprietary API and may be removed in a future release
throw new NotImplementedException();
^
../src/query/expression/UnionIterator.java:390: warning: NotImplementedException is internal proprietary API and may be removed in a future release
throw new NotImplementedException();
^
../src/tools/ConfigArgP.java:128: warning: [deprecation] reader(Class<?>) in ObjectMapper has been deprecated
final ConfigurationItem[] loadedItems = jsonMapper.reader(ConfigurationItem[].class).readValue(configRoot);
^
../src/tools/ConfigArgP.java:825: warning: [deprecation] reader(Class<?>) in ObjectMapper has been deprecated
String[] jsLines = jsonMapper.reader(String[].class).readValue(bindingsNode);
^
../src/tree/Branch.java:586: error: cannot find symbol
return DatatypeConverter.printHexBinary(branch_id);
^
symbol: variable DatatypeConverter
location: class Branch
../src/tree/Branch.java:606: error: cannot find symbol
return DatatypeConverter.parseHexBinary(id);
^
symbol: variable DatatypeConverter
location: class Branch
../src/tsd/AbstractHttpQuery.java:478: warning: [deprecation] toStringHelper(Object) in Objects has been deprecated
return Objects.toStringHelper(this)
^
../src/tsd/QueryRpc.java:430: warning: [deprecation] getLastPoint(TSDB,byte[],boolean,int,long) in TSUIDQuery has been deprecated
deferreds.add(TSUIDQuery.getLastPoint(tsdb, entry.getKey(),
^
../src/tsd/GraphHandler.java:198: warning: [deprecation] decode(String) in URLDecoder has been deprecated
allow = URLDecoder.decode(allow.trim());
^
../src/tsd/GraphHandler.java:239: warning: [rawtypes] found raw type: HashSet
final HashSet<String>[] aggregated_tags = new HashSet[nqueries];
^
missing type arguments for generic class HashSet<E>
where E is a type-variable:
E extends Object declared in class HashSet
../src/tsd/GraphHandler.java:668: warning: [deprecation] decode(String) in URLDecoder has been deprecated
wxh = URLDecoder.decode(wxh.trim());
^
../src/tsd/GraphHandler.java:725: warning: [deprecation] decode(String) in URLDecoder has been deprecated
given = URLDecoder.decode(given.trim());
^
../src/tsd/LogsRpc.java:115: warning: [cast] redundant cast to ILoggingEvent
final ILoggingEvent event = (ILoggingEvent) logbuf.get(nevents);
^
../src/tsd/QueryExecutor.java:854: warning: [rawtypes] found raw type: Map
tags = new Map[dps.length];
^
missing type arguments for generic class Map<K,V>
where K,V are type-variables:
K extends Object declared in interface Map
V extends Object declared in interface Map
../src/tsd/QueryExecutor.java:855: warning: [rawtypes] found raw type: List
agg_tags = new List[dps.length];
^
missing type arguments for generic class List<E>
where E is a type-variable:
E extends Object declared in interface List
../src/utils/JSON.java:214: warning: [deprecation] createJsonParser(String) in JsonFactory has been deprecated
return jsonMapper.getFactory().createJsonParser(json);
^
../src/utils/JSON.java:236: warning: [deprecation] createJsonParser(byte[]) in JsonFactory has been deprecated
return jsonMapper.getFactory().createJsonParser(json);
^
../src/utils/JSON.java:258: warning: [deprecation] createJsonParser(InputStream) in JsonFactory has been deprecated
return jsonMapper.getFactory().createJsonParser(json);
^
../src/utils/PluginLoader.java:70: warning: [rawtypes] found raw type: Class
private static final Class<?>[] PARAMETER_TYPES = new Class[] {
^
missing type arguments for generic class Class<T>
where T is a type-variable:
T extends Object declared in class Class
./src/net/opentsdb/query/expression/parser/TokenMgrError.java:110: warning: [cast] redundant cast to int
(EOFSeen ? "<EOF> " : ("\"" + addEscapes(String.valueOf(curChar1)) + "\"") + " (" + (int)curChar + "), ") +
^
9 errors
58 warnings
make[1]: *** [Makefile:1853: .javac-stamp] Error 1
make[1]: Leaving directory '/home/vhirk/go/src/github.com/test/adiitional-scripts/opentsdb/opentsdb/build'
make: *** [Makefile:1411: all] Error 2
有人知道如何解决这个问题吗?
请参见以下链接:
https://github.com/OpenTSDB/opentsdb/issues/931
1-cd opentsdb-2.3.0 2-mkdir build 3-cp-r第三方/建造4-/建筑嘘
我有理由使用Tensorflow 1。x版本,但返回错误消息: 我也尝试了. whl安装,但是最新的Tensorflow 1.15.2支持cp37,我不能再使用它了。 是张量流1。pip或pypi不再支持x?或者我应该降级python(3.8) 【系统环境】Ubuntu 20.04 LTS Python版本:3.8.2 pip版本:20.0.2 谢谢
问题内容: 创建一个显示CSV文件中最新天气的网页后,我需要做一个项目。 我想了解一些详细的操作方法(不要真正获得http://flask.pocoo.org/docs/installation/#installation安装设置) 谁能介意简单地说明我的做法? 谢谢。 我在Windows 7和Windows Powershell上运行。 问题答案: Python 2.7.9+和3.4+ 好消息!
问题内容: 我正在尝试使用Python 3.4将其安装在Windows 8.1笔记本电脑上,但失败了。 首先,我尝试了简单明了的解决方案:。但是,这没有用。它是这样说的: 所以然后我看了一个很棒的有用的东西,叫做 互联网 ,很多人都需要和错误。他们推荐了一个叫Christoph Gohlke的页面,其中他为一堆软件包提供了一些二进制工具。您可以在这里找到它(到lxml部分的快速链接)。 因此,在我
问题内容: 我已按照此处的所有说明进行操作:http : //www.tonyspencer.com/2003/10/22/curl-with-php-and- apache-on-windows/ 要安装和配置apache,请获取PHP5软件包并获取CURL软件包。 我运行apache并运行PHP脚本。没问题。但是当我用curl运行php脚本时,它失败了。 它返回: 在第5行被称为 我输出php
本文向大家介绍如何在Ubuntu上安装ImageMagick,包括了如何在Ubuntu上安装ImageMagick的使用技巧和注意事项,需要的朋友参考一下 使用ImageMagick创建,编辑,合成或转换位图pix。它实际上可以用一种编解码器(超过200种)来读取和写入快照,包括PNG,JPEG,JPEG-2000,GIF,TIFF,DPX,EXR,WebP,Postscript,PDF和SVG。
问题内容: 当我尝试使用以下命令在Windows上安装PyQt5时 我收到此错误: 我从PyQt5下载获得了pyQt5 。 如何安装PyQt5? 更新: 我从Qt下载页面安装,现在出现此错误: using the –verbose flag to see more detail about the problem. 当我执行命令时: qtdetail.m k qtdetail.pro nmake